You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug#27760787: ERROR IN SQL SYNTAX WHEN USING "DEFAULT" KEYWORD IN ALTER TABLE COMMAND
The syntax ALTER TABLE ... CONVERT CHARACTER SET TO DEFAULT is documented,
however it was removed by a mistake.
The current patch restores that feature in 8.0.
Copy file name to clipboardExpand all lines: mysql-test/r/parser.result
+109-2Lines changed: 109 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2225,8 +2225,6 @@ ALTER DATABASE db COLLATE DEFAULT;
2225
2225
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT' at line 1
2226
2226
ALTER TABLE t COLLATE DEFAULT;
2227
2227
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT' at line 1
2228
-
ALTER TABLE t CONVERT TO CHARSET DEFAULT;
2229
-
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT' at line 1
2230
2228
SET NAMES utf8 COLLATE DEFAULT;
2231
2229
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT' at line 1
2232
2230
SET NAMES DEFAULT COLLATE DEFAULT;
@@ -2261,3 +2259,112 @@ ERROR 42000: You have an error in your SQL syntax; check the manual that corresp
2261
2259
#
2262
2260
CREATE TEMPORARY TABLE admin (admin INT);
2263
2261
DROP TABLE admin;
2262
+
#
2263
+
# Bug#27760787: ERROR IN SQL SYNTAX WHEN USING "DEFAULT" KEYWORD IN
0 commit comments