1
0
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:
Sergei Golubchik
2017-06-27 20:46:45 +02:00
parent 504eff0ca1
commit 785e2248bd
140 changed files with 12910 additions and 12831 deletions

View File

@ -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;