Commit 3849f8b2 authored by Marko Mäkelä's avatar Marko Mäkelä

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.
parent eecce3d7
......@@ -1547,7 +1547,7 @@ insert into t1 values('aaa');
set statement sql_mode = 'NO_ENGINE_SUBSTITUTION' for
alter table t1 add index(a(1024));
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;
Table Create Table
t1 CREATE TABLE `t1` (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment