diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-04-08 01:41:07 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-04-08 01:41:07 +0200 |
commit | 3fdd0099901df44ecff9a926ed890dd65862ccaf (patch) | |
tree | 068fc96cb7e4e56712020b1bf224670b5cd035df /sql/mysql_install_db.cc | |
parent | 753bd76de8a6fa3d2481b1d33eb02ff3f96a5d2f (diff) | |
download | mariadb-git-3fdd0099901df44ecff9a926ed890dd65862ccaf.tar.gz |
Fix SQL syntax error when running mysql --bootstrap.
Diffstat (limited to 'sql/mysql_install_db.cc')
-rw-r--r-- | sql/mysql_install_db.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysql_install_db.cc b/sql/mysql_install_db.cc index adaf9401567..22d2373a76a 100644 --- a/sql/mysql_install_db.cc +++ b/sql/mysql_install_db.cc @@ -322,7 +322,7 @@ static const char update_root_passwd_part2[]= static const char remove_default_user_cmd[]= "DELETE FROM mysql.user where User='';\n"; static const char allow_remote_root_access_cmd[]= - "CREATE TEMPORARY TABLE tmp_user LIKE user engine=memory;\n" + "CREATE TEMPORARY TABLE tmp_user LIKE user;\n" "INSERT INTO tmp_user SELECT * from user where user='root' " " AND host='localhost';\n" "UPDATE tmp_user SET host='%';\n" |