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

This commit is contained in:
unknown 2006-11-23 11:56:05 +01:00
parent 43cc5f74f5
commit 3fff19bfe3

View file

@ -597,7 +597,7 @@ fix_priv_tables:
if (find_file(MYSQL_FIX_PRIV_TABLES_NAME, basedir, MYF(0),
path, sizeof(path),
"support_files", "share/mysql", "scripts",
"support_files", "share", "share/mysql", "scripts",
NullS)
&& find_file(MYSQL_FIX_PRIV_TABLES_NAME, "/usr/local/mysql", MYF(0),
path, sizeof(path),