Commit 1ef997e8 authored by unknown's avatar unknown

mysql_upgrade should look for .sql script also in share/ directory

parent cf61836a
...@@ -597,7 +597,7 @@ int main(int argc, char **argv) ...@@ -597,7 +597,7 @@ int main(int argc, char **argv)
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),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment