1
# Test concurrency operation on create table
3
# This is here so that something appears in the log, otherwise test-run
7
CREATE SCHEMA drizzleslap;
9
--exec $DRIZZLE_SLAP --silent --iterations=20 --query="CREATE TABLE IF NOT EXISTS t1 (id int, name varchar(64)); INSERT INTO t1 VALUES (1, 'This is a test')" --delimiter=";"
11
# We want to know that atleast one insert happened
12
SELECT if((count(id) > 1), "YES", "NO") from drizzleslap.t1;
14
drop table drizzleslap.t1;
15
drop schema drizzleslap;