Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
cdb55102
Commit
cdb55102
authored
Oct 18, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix mysql_upgrade to preserve the collation of mysql.user.is_role
parent
72d8b533
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
mysql-test/r/system_mysql_db_fix40123.result
mysql-test/r/system_mysql_db_fix40123.result
+1
-1
mysql-test/r/system_mysql_db_fix50030.result
mysql-test/r/system_mysql_db_fix50030.result
+1
-1
mysql-test/r/system_mysql_db_fix50117.result
mysql-test/r/system_mysql_db_fix50117.result
+1
-1
scripts/mysql_system_tables_fix.sql
scripts/mysql_system_tables_fix.sql
+2
-1
No files found.
mysql-test/r/system_mysql_db_fix40123.result
View file @
cdb55102
...
...
@@ -125,7 +125,7 @@ user CREATE TABLE `user` (
`max_updates` int(11) unsigned NOT NULL DEFAULT '0',
`max_connections` int(11) unsigned NOT NULL DEFAULT '0',
`max_user_connections` int(11) NOT NULL DEFAULT '0',
`is_role` enum('N','Y') C
OLLATE utf8_bin
NOT NULL DEFAULT 'N',
`is_role` enum('N','Y') C
HARACTER SET utf8
NOT NULL DEFAULT 'N',
`plugin` char(64) CHARACTER SET latin1 NOT NULL DEFAULT '',
`authentication_string` text COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`Host`,`User`)
...
...
mysql-test/r/system_mysql_db_fix50030.result
View file @
cdb55102
...
...
@@ -125,7 +125,7 @@ user CREATE TABLE `user` (
`max_updates` int(11) unsigned NOT NULL DEFAULT '0',
`max_connections` int(11) unsigned NOT NULL DEFAULT '0',
`max_user_connections` int(11) NOT NULL DEFAULT '0',
`is_role` enum('N','Y') C
OLLATE utf8_bin
NOT NULL DEFAULT 'N',
`is_role` enum('N','Y') C
HARACTER SET utf8
NOT NULL DEFAULT 'N',
`plugin` char(64) CHARACTER SET latin1 NOT NULL DEFAULT '',
`authentication_string` text COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`Host`,`User`)
...
...
mysql-test/r/system_mysql_db_fix50117.result
View file @
cdb55102
...
...
@@ -125,7 +125,7 @@ user CREATE TABLE `user` (
`max_updates` int(11) unsigned NOT NULL DEFAULT '0',
`max_connections` int(11) unsigned NOT NULL DEFAULT '0',
`max_user_connections` int(11) NOT NULL DEFAULT '0',
`is_role` enum('N','Y') C
OLLATE utf8_bin
NOT NULL DEFAULT 'N',
`is_role` enum('N','Y') C
HARACTER SET utf8
NOT NULL DEFAULT 'N',
`plugin` char(64) CHARACTER SET latin1 NOT NULL DEFAULT '',
`authentication_string` text COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`Host`,`User`)
...
...
scripts/mysql_system_tables_fix.sql
View file @
cdb55102
...
...
@@ -188,7 +188,8 @@ ALTER TABLE user
MODIFY
Execute_priv
enum
(
'N'
,
'Y'
)
COLLATE
utf8_general_ci
DEFAULT
'N'
NOT
NULL
,
MODIFY
Repl_slave_priv
enum
(
'N'
,
'Y'
)
COLLATE
utf8_general_ci
DEFAULT
'N'
NOT
NULL
,
MODIFY
Repl_client_priv
enum
(
'N'
,
'Y'
)
COLLATE
utf8_general_ci
DEFAULT
'N'
NOT
NULL
,
MODIFY
ssl_type
enum
(
''
,
'ANY'
,
'X509'
,
'SPECIFIED'
)
COLLATE
utf8_general_ci
DEFAULT
''
NOT
NULL
;
MODIFY
ssl_type
enum
(
''
,
'ANY'
,
'X509'
,
'SPECIFIED'
)
COLLATE
utf8_general_ci
DEFAULT
''
NOT
NULL
,
MODIFY
is_role
enum
(
'N'
,
'Y'
)
COLLATE
utf8_general_ci
DEFAULT
'N'
NOT
NULL
;
ALTER
TABLE
db
MODIFY
Host
char
(
60
)
NOT
NULL
default
''
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment