summaryrefslogtreecommitdiff
path: root/sql/mysql_install_db.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2011-04-08 01:41:07 +0200
committerVladislav Vaintroub <wlad@montyprogram.com>2011-04-08 01:41:07 +0200
commit3fdd0099901df44ecff9a926ed890dd65862ccaf (patch)
tree068fc96cb7e4e56712020b1bf224670b5cd035df /sql/mysql_install_db.cc
parent753bd76de8a6fa3d2481b1d33eb02ff3f96a5d2f (diff)
downloadmariadb-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.cc2
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"