Current Path : /home/usr.opt/mysql57/mysql-test/suite/perfschema_stress/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/perfschema_stress/r/work.result |
SET @rowid = ROUND(RAND() * <num_stress_rows>); START TRANSACTION; UPDATE t1 SET b = 'changed' WHERE id=@rowid; SELECT b FROM t1 WHERE id=@rowid; b changed COMMIT; START TRANSACTION; DELETE FROM t1 WHERE id=@rowid; INSERT INTO t1 (id, b) VALUES (@rowid, 'newly_inserted'); SELECT b FROM t1 WHERE id=@rowid; b newly_inserted COMMIT; CREATE TABLE tw_<conn_nr> AS SELECT * FROM t1; DROP TABLE tw_<conn_nr>;