summaryrefslogtreecommitdiff
path: root/scripts/mysql_system_tables_fix.sql
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2011-03-18 16:16:17 +0200
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2011-03-18 16:16:17 +0200
commitdd0823cc03681e6e3e0b7ef9ec26649f70fece48 (patch)
treeab790168cd83258fd1e1245376db240a2a4d41fb /scripts/mysql_system_tables_fix.sql
parent12d9d4963f4b887b04d41635fe1a34ddfbda19cd (diff)
downloadmariadb-git-dd0823cc03681e6e3e0b7ef9ec26649f70fece48.tar.gz
Bug # 11766011: mysql.user.authentication_string column causes
configuration wizard to fail Made the fields mysql.user.plugin and mysql.user.authentication_string nullable to conform with some older clients doing inserts instead of using the commands.
Diffstat (limited to 'scripts/mysql_system_tables_fix.sql')
-rw-r--r--scripts/mysql_system_tables_fix.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mysql_system_tables_fix.sql b/scripts/mysql_system_tables_fix.sql
index 90dd49c254a..c57b3be5fae 100644
--- a/scripts/mysql_system_tables_fix.sql
+++ b/scripts/mysql_system_tables_fix.sql
@@ -640,8 +640,8 @@ DROP PREPARE stmt;
drop procedure mysql.die;
-ALTER TABLE user ADD plugin char(64) DEFAULT '' NOT NULL, ADD authentication_string TEXT NOT NULL;
-ALTER TABLE user MODIFY plugin char(64) DEFAULT '' NOT NULL;
+ALTER TABLE user ADD plugin char(64) DEFAULT '', ADD authentication_string TEXT;
+ALTER TABLE user MODIFY plugin char(64) DEFAULT '';
-- Need to pre-fill mysql.proxies_priv with access for root even when upgrading from
-- older versions