mark some file to been opensource for ce-farm

This commit is contained in:
niyuhang
2023-11-15 11:44:43 +00:00
committed by ob-robot
parent 4900683cff
commit c8ace58297
685 changed files with 1080566 additions and 111051 deletions

View File

@ -0,0 +1,29 @@
drop table if exists t1,t2,t3,t4;
create table t1(a int primary key, b int);
insert into t1 values(1, +1);
insert into t1 values(2, -1);
insert into t1 values(3, -(-1));
insert into t1 values(4, -(+1));
insert into t1 values(5, +(-1));
insert into t1 values(6, -(-(-1)));
insert into t1 values(7, -(-(+1)));
insert into t1 values(8, -(+(+1)));
insert into t1 values(9, +(+(+1)));
insert into t1 values(10,-(+(-1)));
insert into t1 values(11,+(+(-1)));
insert into t1 values(12,--1);
select * from t1;
a b
1 1
10 1
11 -1
12 1
2 -1
3 1
4 -1
5 -1
6 -1
7 1
8 -1
9 1
drop table t1;

View File

@ -0,0 +1,29 @@
--disable_query_log
set @@session.explicit_defaults_for_timestamp=off;
--enable_query_log
# tags: datatype
# owner: zuojiao.hzj
# owner group: SQL2
# Test of functions bug229955_positive_int
--disable_warnings
drop table if exists t1,t2,t3,t4;
--enable_warnings
create table t1(a int primary key, b int);
insert into t1 values(1, +1);
insert into t1 values(2, -1);
insert into t1 values(3, -(-1));
insert into t1 values(4, -(+1));
insert into t1 values(5, +(-1));
insert into t1 values(6, -(-(-1)));
insert into t1 values(7, -(-(+1)));
insert into t1 values(8, -(+(+1)));
insert into t1 values(9, +(+(+1)));
insert into t1 values(10,-(+(-1)));
insert into t1 values(11,+(+(-1)));
insert into t1 values(12,--1);
--enable_sorted_result
select * from t1;
drop table t1;