mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
mysql_upgrade should look for .sql script also in share/ directory
This commit is contained in:
@@ -597,7 +597,7 @@ fix_priv_tables:
|
|||||||
|
|
||||||
if (find_file(MYSQL_FIX_PRIV_TABLES_NAME, basedir, MYF(0),
|
if (find_file(MYSQL_FIX_PRIV_TABLES_NAME, basedir, MYF(0),
|
||||||
path, sizeof(path),
|
path, sizeof(path),
|
||||||
"support_files", "share/mysql", "scripts",
|
"support_files", "share", "share/mysql", "scripts",
|
||||||
NullS)
|
NullS)
|
||||||
&& find_file(MYSQL_FIX_PRIV_TABLES_NAME, "/usr/local/mysql", MYF(0),
|
&& find_file(MYSQL_FIX_PRIV_TABLES_NAME, "/usr/local/mysql", MYF(0),
|
||||||
path, sizeof(path),
|
path, sizeof(path),
|
||||||
|
Reference in New Issue
Block a user