mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-13089 identifier quoting in partitioning
don't print partitioning expression as it was entered by the user, use Item::print() according to the sql_mode and sql_quote_show_create
This commit is contained in:
@@ -62,9 +62,9 @@ byrange_tbl CREATE TABLE `byrange_tbl` (
|
||||
`filler` varchar(255) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=201 DEFAULT CHARSET=latin1
|
||||
PARTITION BY RANGE (id)
|
||||
(PARTITION pa100 VALUES LESS THAN (100) ENGINE = MyISAM,
|
||||
PARTITION paMax VALUES LESS THAN MAXVALUE ENGINE = MyISAM)
|
||||
PARTITION BY RANGE (`id`)
|
||||
(PARTITION `pa100` VALUES LESS THAN (100) ENGINE = MyISAM,
|
||||
PARTITION `paMax` VALUES LESS THAN MAXVALUE ENGINE = MyISAM)
|
||||
show create table test.regular_tbl;
|
||||
Table Create Table
|
||||
regular_tbl CREATE TABLE `regular_tbl` (
|
||||
@@ -106,9 +106,9 @@ byrange_tbl CREATE TABLE `byrange_tbl` (
|
||||
`filler` varchar(255) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=MyISAM AUTO_INCREMENT=201 DEFAULT CHARSET=latin1
|
||||
PARTITION BY RANGE (id)
|
||||
(PARTITION pa100 VALUES LESS THAN (100) ENGINE = MyISAM,
|
||||
PARTITION paMax VALUES LESS THAN MAXVALUE ENGINE = MyISAM)
|
||||
PARTITION BY RANGE (`id`)
|
||||
(PARTITION `pa100` VALUES LESS THAN (100) ENGINE = MyISAM,
|
||||
PARTITION `paMax` VALUES LESS THAN MAXVALUE ENGINE = MyISAM)
|
||||
show create table test.regular_tbl;
|
||||
Table Create Table
|
||||
regular_tbl CREATE TABLE `regular_tbl` (
|
||||
|
Reference in New Issue
Block a user