summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-08-10 16:34:29 +0200
committerunknown <serg@serg.mylan>2004-08-10 16:34:29 +0200
commit456f97d4f1708f0a949fc6c189325d852e824983 (patch)
tree09153af383f994abe97431df272cd12139e7ff8c /scripts
parent5d772d1a0e44a34f74bf0834426dcf3c188627cd (diff)
downloadmariadb-git-456f97d4f1708f0a949fc6c189325d852e824983.tar.gz
disable safe-updates for mysql_fix_privilege_tables
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysql_fix_privilege_tables.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mysql_fix_privilege_tables.sql b/scripts/mysql_fix_privilege_tables.sql
index bfff05151e5..6e1fd0d1be5 100644
--- a/scripts/mysql_fix_privilege_tables.sql
+++ b/scripts/mysql_fix_privilege_tables.sql
@@ -9,6 +9,8 @@
-- this sql script.
-- On windows you should do 'mysql --force mysql < mysql_fix_privilege_tables.sql'
+SET SQL_SAFE_UPDATES=0;
+
USE mysql;
ALTER TABLE user type=MyISAM;
ALTER TABLE db type=MyISAM;