mysql-test/suite/binlog/r/binlog_transaction_write_set_savepoint_clear_identifiers.result
raw| 1 | SET @save_session_debug= @@SESSION.debug; |
| 2 | SET @@SESSION.debug = "+d,transaction_write_set_savepoint_clear_on_commit_rollback"; |
| 3 | CREATE TABLE t1 (c1 INT PRIMARY KEY); |
| 4 | BEGIN; |
| 5 | SAVEPOINT S0; |
| 6 | INSERT INTO t1 VALUES (0); |
| 7 | COMMIT; |
| 8 | BEGIN; |
| 9 | SAVEPOINT S1; |
| 10 | INSERT INTO t1 VALUES (1); |
| 11 | ROLLBACK; |
| 12 | BEGIN; |
| 13 | SAVEPOINT S2; |
| 14 | INSERT INTO t1 VALUES (2); |
| 15 | COMMIT; |
| 16 | include/assert.inc ['There are two values in table t1'] |
| 17 | SET @@SESSION.debug= @save_session_debug; |
| 18 | DROP TABLE t1; |