1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fixup for MDEV-11995.

Adjust a test result. When a too long index prefix is truncated,
a note instead of a warning or error will be issued.
This commit is contained in:
Marko Mäkelä
2017-04-17 03:18:21 +03:00
parent eecce3d7c8
commit 3849f8b2bb

View File

@ -1547,7 +1547,7 @@ insert into t1 values('aaa');
set statement sql_mode = 'NO_ENGINE_SUBSTITUTION' for set statement sql_mode = 'NO_ENGINE_SUBSTITUTION' for
alter table t1 add index(a(1024)); alter table t1 add index(a(1024));
Warnings: Warnings:
Warning 1071 Specified key was too long; max key length is 767 bytes Note 1071 Specified key was too long; max key length is 767 bytes
show create table t1; show create table t1;
Table Create Table Table Create Table
t1 CREATE TABLE `t1` ( t1 CREATE TABLE `t1` (