forked from pool/phpMyAdmin
Eric Schirra
3c933362d4
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
13 lines
665 B
Diff
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;
|
|
}
|
|
|