Skip to content
Permalink
Browse files
increase max field name
Signed-off-by: Weijun-H <huangweijun1001@gmail.com>
  • Loading branch information
Weijun-H authored and FooBarrior committed Nov 26, 2022
1 parent 640d299 commit 196a540
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
@@ -0,0 +1,9 @@
#
# MDEV-29387: Period name with more than 32 symbols crashes the server
#
# test 34 symbols
create table t2 (s date, e date, period for `abcd123456789012345678901234567890` (s,e));
drop table t2;
# test 64 symbols
create table t2 (s date, e date, period for `abcd123456789012345678901234567890123456789012345678901234567890` (s,e));
drop table t2;
@@ -0,0 +1,11 @@
--echo #
--echo # MDEV-29387: Period name with more than 32 symbols crashes the server
--echo #

--echo # test 34 symbols
create table t2 (s date, e date, period for `abcd123456789012345678901234567890` (s,e));
drop table t2;

--echo # test 64 symbols
create table t2 (s date, e date, period for `abcd123456789012345678901234567890123456789012345678901234567890` (s,e));
drop table t2;

0 comments on commit 196a540

Please sign in to comment.