Files
oceanbase/tools/deploy/mysql_test/r/mysql/bug200747.result
2023-11-15 11:44:44 +00:00

11 lines
649 B
Plaintext

drop table if exists ob_new_sql_test;
create table ob_new_sql_test(c0 varchar(20), c1 int primary key, c2 int , c3 int,c4 int,c5 int,c6 int,c7 int,c8 int,c9 int,c10 int,c11 int,c12 int,c13 int,c14 int,c15 int);
insert into ob_new_sql_test (c0, c1) values ('hello', 0);
select * from ob_new_sql_test where c1 < 1;
c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15
hello 0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
select * from ob_new_sql_test where c1 = 0;
c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15
hello 0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL
drop table ob_new_sql_test;