1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-02 14:22:51 +03:00
Files
mariadb/mysql-test/suite/pbxt/t/bulk_replace.test
2009-04-02 12:03:14 +02:00

18 lines
409 B
Plaintext

#
# this is a test of bulk-insert code
#
--disable_warnings
drop table if exists t1;
--enable_warnings
CREATE TABLE t1 (a int, unique (a), b int not null, unique(b), c int not null, index(c));
replace into t1 values (1,1,1),(2,2,2),(3,1,3);
select * from t1 order by a; # PBXT requires an order by
check table t1;
drop table t1;
--disable_query_log
drop database pbxt;
--enable_query_log
# End of 4.1 tests