Files
oceanbase/unittest/sql/resolver/sql/test_resolver_question_mark.test
oceanbase-admin cea7de1475 init push
2021-05-31 22:56:52 +08:00

12 lines
282 B
Plaintext

drop database if exists question_mark_db;
create database question_mark_db;
use question_mark_db;
create table t1(c1 int primary key, c2 int) partition by hash(c1 + 1) partitions 3
select * from t1 where c1=0
select * from t1 where c1=1 and c2=1
drop database question_mark_db;