mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
do not quote numbers in the DEFAULT clause in SHOW CREATE
This commit is contained in:
@ -21,7 +21,7 @@ Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`id` int(11) NOT NULL,
|
||||
`created_at` datetime NOT NULL,
|
||||
`cool` tinyint(4) DEFAULT '0'
|
||||
`cool` tinyint(4) DEFAULT 0
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
/*!50100 PARTITION BY RANGE (TO_DAYS(created_at))
|
||||
(PARTITION month_2010_4 VALUES LESS THAN (734258) ENGINE = InnoDB,
|
||||
@ -70,7 +70,7 @@ Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`id` int(11) NOT NULL,
|
||||
`created_at` datetime NOT NULL,
|
||||
`cool` tinyint(4) DEFAULT '0'
|
||||
`cool` tinyint(4) DEFAULT 0
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||
/*!50100 PARTITION BY RANGE (TO_DAYS(created_at))
|
||||
SUBPARTITION BY HASH (cool)
|
||||
|
Reference in New Issue
Block a user