1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +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:
Alexander Barkov
2021-12-28 17:43:40 +04:00
parent e4b302e436
commit 62e320c86d
82 changed files with 2374 additions and 2319 deletions

View File

@@ -1,13 +1,13 @@
SHOW CREATE TABLE INFORMATION_SCHEMA.INNODB_SYS_TABLESPACES;
Table Create Table
INNODB_SYS_TABLESPACES CREATE TEMPORARY TABLE `INNODB_SYS_TABLESPACES` (
`SPACE` int(11) unsigned NOT NULL DEFAULT 0,
`NAME` varchar(655) NOT NULL DEFAULT '',
`FLAG` int(11) unsigned NOT NULL DEFAULT 0,
`ROW_FORMAT` varchar(22) DEFAULT NULL,
`PAGE_SIZE` int(11) unsigned NOT NULL DEFAULT 0,
`ZIP_PAGE_SIZE` int(11) unsigned NOT NULL DEFAULT 0,
`FS_BLOCK_SIZE` int(11) unsigned NOT NULL DEFAULT 0,
`FILE_SIZE` bigint(21) unsigned NOT NULL DEFAULT 0,
`ALLOCATED_SIZE` bigint(21) unsigned NOT NULL DEFAULT 0
`SPACE` int(11) unsigned NOT NULL,
`NAME` varchar(655) NOT NULL,
`FLAG` int(11) unsigned NOT NULL,
`ROW_FORMAT` varchar(22),
`PAGE_SIZE` int(11) unsigned NOT NULL,
`ZIP_PAGE_SIZE` int(11) unsigned NOT NULL,
`FS_BLOCK_SIZE` int(11) unsigned NOT NULL,
`FILE_SIZE` bigint(21) unsigned NOT NULL,
`ALLOCATED_SIZE` bigint(21) unsigned NOT NULL
) ENGINE=MEMORY DEFAULT CHARSET=utf8