mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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:
@ -20,7 +20,7 @@ no_index_tab CREATE TABLE `no_index_tab` (
|
||||
`a` varchar(255) NOT NULL,
|
||||
`b` int(11) NOT NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
PARTITION BY KEY (b)
|
||||
PARTITION BY KEY (`b`)
|
||||
PARTITIONS 2
|
||||
insert into marker set a = 1;
|
||||
insert into test.no_index_tab set a = 'foo', b = 1;
|
||||
|
Reference in New Issue
Block a user