14
14
CREATE TABLE t1 (id INT, name VARCHAR(64));
16
16
let $query = "INSERT DELAYED INTO t1 VALUES (1, 'Dr. No'), (2, 'From Russia With Love'), (3, 'Goldfinger'), (4, 'Thunderball'), (5, 'You Only Live Twice')";
19
19
# Wait until all the 5000 inserts has been inserted into the table
20
20
let $wait_condition= SELECT COUNT(*) = 5000 FROM mysqlslap.t1;