reformat the test
This commit is contained in:
parent
0204cf182a
commit
8535189f32
@ -103,8 +103,11 @@ drop table t;
|
|||||||
# MDEV-29387: Period name with more than 32 symbols crashes the server
|
# MDEV-29387: Period name with more than 32 symbols crashes the server
|
||||||
#
|
#
|
||||||
# test 34 symbols
|
# test 34 symbols
|
||||||
create table t2 (s date, e date, period for `abcd123456789012345678901234567890` (s,e));
|
create table t2 (s date, e date,
|
||||||
|
period for `abcd123456789012345678901234567890` (s,e));
|
||||||
drop table t2;
|
drop table t2;
|
||||||
# test 64 symbols
|
# test 64 symbols
|
||||||
create table t2 (s date, e date, period for `abcd123456789012345678901234567890123456789012345678901234567890` (s,e));
|
create table t2 (s date, e date, period for
|
||||||
|
`abcd123456789012345678901234567890123456789012345678901234567890`
|
||||||
|
(s,e));
|
||||||
drop table t2;
|
drop table t2;
|
||||||
|
@ -90,9 +90,12 @@ drop table t;
|
|||||||
--echo #
|
--echo #
|
||||||
|
|
||||||
--echo # test 34 symbols
|
--echo # test 34 symbols
|
||||||
create table t2 (s date, e date, period for `abcd123456789012345678901234567890` (s,e));
|
create table t2 (s date, e date,
|
||||||
|
period for `abcd123456789012345678901234567890` (s,e));
|
||||||
drop table t2;
|
drop table t2;
|
||||||
|
|
||||||
--echo # test 64 symbols
|
--echo # test 64 symbols
|
||||||
create table t2 (s date, e date, period for `abcd123456789012345678901234567890123456789012345678901234567890` (s,e));
|
create table t2 (s date, e date, period for
|
||||||
|
`abcd123456789012345678901234567890123456789012345678901234567890`
|
||||||
|
(s,e));
|
||||||
drop table t2;
|
drop table t2;
|
@ -29,7 +29,7 @@
|
|||||||
/* extra 4+4 bytes for slave tmp tables */
|
/* extra 4+4 bytes for slave tmp tables */
|
||||||
#define MAX_DBKEY_LENGTH (NAME_LEN*2+1+1+4+4)
|
#define MAX_DBKEY_LENGTH (NAME_LEN*2+1+1+4+4)
|
||||||
#define MAX_ALIAS_NAME 256
|
#define MAX_ALIAS_NAME 256
|
||||||
#define MAX_FIELD_NAME (NAME_LEN+1) /* Max colum name length +1 */
|
#define MAX_FIELD_NAME (NAME_LEN+1) /* Max colum name length +1 */
|
||||||
#define MAX_SYS_VAR_LENGTH 32
|
#define MAX_SYS_VAR_LENGTH 32
|
||||||
#define MAX_KEY MAX_INDEXES /* Max used keys */
|
#define MAX_KEY MAX_INDEXES /* Max used keys */
|
||||||
#define MAX_REF_PARTS 32 /* Max parts used as ref */
|
#define MAX_REF_PARTS 32 /* Max parts used as ref */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user