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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
62eaf7b6
Commit
62eaf7b6
authored
Dec 12, 2017
by
Varun Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-14573: Upgrade from previous versions is broken for procedures
parent
70d6c944
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
mysql-test/r/system_mysql_db_fix50030.result
mysql-test/r/system_mysql_db_fix50030.result
+1
-0
mysql-test/r/system_mysql_db_fix50117.result
mysql-test/r/system_mysql_db_fix50117.result
+1
-0
scripts/mysql_system_tables_fix.sql
scripts/mysql_system_tables_fix.sql
+4
-0
No files found.
mysql-test/r/system_mysql_db_fix50030.result
View file @
62eaf7b6
...
...
@@ -220,6 +220,7 @@ proc CREATE TABLE `proc` (
`collation_connection` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
`db_collation` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
`body_utf8` longblob DEFAULT NULL,
`aggregate` enum('NONE','GROUP') NOT NULL DEFAULT 'NONE',
PRIMARY KEY (`db`,`name`,`type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Stored Procedures'
show create table event;
...
...
mysql-test/r/system_mysql_db_fix50117.result
View file @
62eaf7b6
...
...
@@ -220,6 +220,7 @@ proc CREATE TABLE `proc` (
`collation_connection` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
`db_collation` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
`body_utf8` longblob DEFAULT NULL,
`aggregate` enum('NONE','GROUP') NOT NULL DEFAULT 'NONE',
PRIMARY KEY (`db`,`name`,`type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Stored Procedures'
show create table event;
...
...
scripts/mysql_system_tables_fix.sql
View file @
62eaf7b6
...
...
@@ -519,6 +519,10 @@ ALTER TABLE proc MODIFY body_utf8 longblob DEFAULT NULL;
ALTER
TABLE
proc
MODIFY
comment
text
collate
utf8_bin
NOT
NULL
;
#
MDEV
-
7773
:
Stored
Aggregate
Functions
ALTER
TABLE
proc
ADD
aggregate
enum
(
'NONE'
,
'GROUP'
)
DEFAULT
'NONE'
NOT
NULL
AFTER
body_utf8
;
#
#
EVENT
privilege
#
...
...
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