mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
db951c2fa2
mysql-test/r/binary.result: fixed test to be independed from environment mysql-test/r/delayed.result: fixed test to be independed from environment mysql-test/r/fulltext_left_join.result: fixed test to be independed from environment mysql-test/r/func_group.result: fixed test to be independed from environment mysql-test/r/func_in.result: fixed test to be independed from environment mysql-test/r/key_primary.result: fixed test to be independed from environment mysql-test/r/lock_multi.result: fixed test to be independed from environment mysql-test/r/odbc.result: fixed test to be independed from environment mysql-test/r/type_set.result: fixed test to be independed from environment mysql-test/r/type_time.result: fixed test to be independed from environment mysql-test/r/type_timestamp.result: fixed test to be independed from environment mysql-test/r/type_year.result: fixed test to be independed from environment mysql-test/r/varbinary.result: fixed test to be independed from environment mysql-test/r/warnings.result: fixed test to be independed from environment mysql-test/t/binary.test: fixed test to be independed from environment mysql-test/t/delayed.test: fixed test to be independed from environment mysql-test/t/flush_table.test: fixed test to be independed from environment mysql-test/t/fulltext_left_join.test: fixed test to be independed from environment mysql-test/t/func_group.test: fixed test to be independed from environment mysql-test/t/func_in.test: fixed test to be independed from environment mysql-test/t/key_primary.test: fixed test to be independed from environment mysql-test/t/lock_multi.test: fixed test to be independed from environment mysql-test/t/odbc.test: fixed test to be independed from environment mysql-test/t/type_set.test: fixed test to be independed from environment mysql-test/t/type_time.test: fixed test to be independed from environment mysql-test/t/type_timestamp.test: fixed test to be independed from environment mysql-test/t/type_year.test: fixed test to be independed from environment mysql-test/t/varbinary.test: fixed test to be independed from environment mysql-test/t/warnings.test: fixed test to be independed from environment
18 lines
445 B
Text
18 lines
445 B
Text
#
|
|
# Test some ODBC compatibility
|
|
#
|
|
|
|
select {fn length("hello")}, { date "1997-10-20" };
|
|
|
|
#
|
|
# Test retreiving row with last insert_id value.
|
|
#
|
|
|
|
drop table if exists t1;
|
|
create table t1 (a int not null auto_increment,b int not null,primary key (a,b));
|
|
insert into t1 SET A=NULL,B=1;
|
|
insert into t1 SET a=null,b=2;
|
|
select * from t1 where a is null and b=2;
|
|
select * from t1 where a is null;
|
|
explain select * from t1 where b is null;
|
|
drop table t1;
|