Skip to content

Commit 70ecc6f

Browse files
author
holyfoot/hf@mysql.com/hfmain.(none)
committed
bigint.test made ps-protocol consistent
1 parent 39597b7 commit 70ecc6f

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

mysql-test/r/bigint.result

+10-10
Original file line numberDiff line numberDiff line change
@@ -352,13 +352,13 @@ select c1 mod 50 as result from t1;
352352
result
353353
6
354354
drop table t1;
355-
select -9223372036854775808 bi;
356-
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
357-
def bi 8 20 20 N 32897 0 63
358-
bi
359-
-9223372036854775808
360-
select -9223372036854775809 bi;
361-
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
362-
def bi 246 20 20 N 129 0 63
363-
bi
364-
-9223372036854775809
355+
create table t1 select -9223372036854775808 bi;
356+
describe t1;
357+
Field Type Null Key Default Extra
358+
bi bigint(20) NO 0
359+
drop table t1;
360+
create table t1 select -9223372036854775809 bi;
361+
describe t1;
362+
Field Type Null Key Default Extra
363+
bi decimal(19,0) NO 0
364+
drop table t1;

mysql-test/t/bigint.test

+6-4
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,9 @@ select c1 mod 50 as result from t1;
289289
drop table t1;
290290

291291
# Bug #28005 Partitions: can't use -9223372036854775808
292-
--enable_metadata
293-
select -9223372036854775808 bi;
294-
select -9223372036854775809 bi;
295-
--disable_metadata
292+
create table t1 select -9223372036854775808 bi;
293+
describe t1;
294+
drop table t1;
295+
create table t1 select -9223372036854775809 bi;
296+
describe t1;
297+
drop table t1;

0 commit comments

Comments
 (0)