mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Added support for hex strings to mysqlimport
A lot of new tests to mysqltest Fixed bug with BDB tables and autocommit
This commit is contained in:
17
mysql-test/t/delayed.test
Normal file
17
mysql-test/t/delayed.test
Normal file
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# test of DELAYED insert and timestamps
|
||||
# (Can't be tested with purify :( )
|
||||
#
|
||||
|
||||
create table t1 (a char(10), tmsp timestamp);
|
||||
insert into t1 set a = 1;
|
||||
insert delayed into t1 set a = 2;
|
||||
insert into t1 set a = 3, tmsp=NULL;
|
||||
insert delayed into t1 set a = 4;
|
||||
insert delayed into t1 set a = 5, tmsp = 19711006010203;
|
||||
insert delayed into t1 (a, tmsp) values (6, 19711006010203);
|
||||
insert delayed into t1 (a, tmsp) values (7, NULL);
|
||||
insert into t1 set a = 8,tmsp=19711006010203;
|
||||
select * from t1 where tmsp=0;
|
||||
select * from t1 where tmsp=19711006010203;
|
||||
drop table t1;
|
||||
Reference in New Issue
Block a user