1
0
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:
msvensson@neptunus.(none)
2006-11-23 11:56:05 +01:00
parent d3b4712bad
commit 176313a679

View File

@@ -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),