Skip to content

Commit 8535189

Browse files
Weijun-HFooBarrior
authored andcommitted
reformat the test
1 parent 0204cf1 commit 8535189

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

mysql-test/suite/period/r/create.result

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,11 @@ drop table t;
103103
# MDEV-29387: Period name with more than 32 symbols crashes the server
104104
#
105105
# test 34 symbols
106-
create table t2 (s date, e date, period for `abcd123456789012345678901234567890` (s,e));
106+
create table t2 (s date, e date,
107+
period for `abcd123456789012345678901234567890` (s,e));
107108
drop table t2;
108109
# test 64 symbols
109-
create table t2 (s date, e date, period for `abcd123456789012345678901234567890123456789012345678901234567890` (s,e));
110+
create table t2 (s date, e date, period for
111+
`abcd123456789012345678901234567890123456789012345678901234567890`
112+
(s,e));
110113
drop table t2;

mysql-test/suite/period/t/create.test

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,12 @@ drop table t;
9090
--echo #
9191

9292
--echo # test 34 symbols
93-
create table t2 (s date, e date, period for `abcd123456789012345678901234567890` (s,e));
93+
create table t2 (s date, e date,
94+
period for `abcd123456789012345678901234567890` (s,e));
9495
drop table t2;
9596

9697
--echo # test 64 symbols
97-
create table t2 (s date, e date, period for `abcd123456789012345678901234567890123456789012345678901234567890` (s,e));
98-
drop table t2;
98+
create table t2 (s date, e date, period for
99+
`abcd123456789012345678901234567890123456789012345678901234567890`
100+
(s,e));
101+
drop table t2;

sql/sql_const.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
/* extra 4+4 bytes for slave tmp tables */
3030
#define MAX_DBKEY_LENGTH (NAME_LEN*2+1+1+4+4)
3131
#define MAX_ALIAS_NAME 256
32-
#define MAX_FIELD_NAME (NAME_LEN+1) /* Max colum name length +1 */
32+
#define MAX_FIELD_NAME (NAME_LEN+1) /* Max colum name length +1 */
3333
#define MAX_SYS_VAR_LENGTH 32
3434
#define MAX_KEY MAX_INDEXES /* Max used keys */
3535
#define MAX_REF_PARTS 32 /* Max parts used as ref */

0 commit comments

Comments
 (0)