mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-18918 SQL mode EMPTY_STRING_IS_NULL breaks RBR upon CREATE TABLE .. SELECT
The 10.5 version of the patch. Removing DEFAULT from INFORMATION_SCHEMA columns. DEFAULT in read-only tables is rather meaningless. Upgrade should go smoothly. Also fixes: MDEV-20254 Problems with EMPTY_STRING_IS_NULL and I_S tables
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
SHOW CREATE TABLE INFORMATION_SCHEMA.INNODB_SYS_INDEXES;
|
||||
Table Create Table
|
||||
INNODB_SYS_INDEXES CREATE TEMPORARY TABLE `INNODB_SYS_INDEXES` (
|
||||
`INDEX_ID` bigint(21) unsigned NOT NULL DEFAULT 0,
|
||||
`NAME` varchar(64) NOT NULL DEFAULT '',
|
||||
`TABLE_ID` bigint(21) unsigned NOT NULL DEFAULT 0,
|
||||
`TYPE` int(11) NOT NULL DEFAULT 0,
|
||||
`N_FIELDS` int(11) NOT NULL DEFAULT 0,
|
||||
`PAGE_NO` int(11) NOT NULL DEFAULT 0,
|
||||
`SPACE` int(11) NOT NULL DEFAULT 0,
|
||||
`MERGE_THRESHOLD` int(11) NOT NULL DEFAULT 0
|
||||
`INDEX_ID` bigint(21) unsigned NOT NULL,
|
||||
`NAME` varchar(64) NOT NULL,
|
||||
`TABLE_ID` bigint(21) unsigned NOT NULL,
|
||||
`TYPE` int(11) NOT NULL,
|
||||
`N_FIELDS` int(11) NOT NULL,
|
||||
`PAGE_NO` int(11) NOT NULL,
|
||||
`SPACE` int(11) NOT NULL,
|
||||
`MERGE_THRESHOLD` int(11) NOT NULL
|
||||
) ENGINE=MEMORY DEFAULT CHARSET=utf8
|
||||
|
Reference in New Issue
Block a user