SHA256
1
0
forked from pool/phpMyAdmin
phpMyAdmin/phpMyAdmin-12757_sql_syntax_errror.patch
Eric Schirra 3c933362d4 Accepting request 451463 from home:ecsos:server
Add Patch phpMyAdmin-12757_sql_syntax_errror.patch to fix 
gh#12757 SQL syntax errror on MariaDB < 10.0.2 in check for mysql 
password check plugin.

OBS-URL: https://build.opensuse.org/request/show/451463
OBS-URL: https://build.opensuse.org/package/show/server:php:applications/phpMyAdmin?expand=0&rev=274
2017-01-19 18:02:28 +00:00

13 lines
665 B
Diff

diff -Pdpru phpMyAdmin-4.6.5.2-all-languages.orig/libraries/server_privileges.lib.php phpMyAdmin-4.6.5.2-all-languages/libraries/server_privileges.lib.php
--- phpMyAdmin-4.6.5.2-all-languages.orig/libraries/server_privileges.lib.php 2016-12-05 23:36:28.000000000 +0100
+++ phpMyAdmin-4.6.5.2-all-languages/libraries/server_privileges.lib.php 2017-01-19 18:37:00.016646510 +0100
@@ -5237,7 +5237,7 @@ function PMA_getHashedPassword($password
*/
function PMA_checkIfMariaDBPwdCheckPluginActive()
{
- if (Util::getServerType() !== 'MariaDB') {
+ if (!(Util::getServerType() == 'MariaDB' && PMA_MYSQL_INT_VERSION >= 100002)) {
return false;
}