mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
write "COMMIT" into binlog if there's no Xid at the end of transaction
new tests mysql-test/r/innodb.result: savepoint test mysql-test/t/innodb.test: savepoint test sql/log.cc: write "COMMIT" into binlog if there's no Xid at the end of transaction
This commit is contained in:
@ -141,6 +141,10 @@ release savepoint `my_savepoint`;
|
||||
select n from t1;
|
||||
-- error 1305
|
||||
rollback to savepoint `my_savepoint`;
|
||||
insert into t1 values (8);
|
||||
savepoint sv;
|
||||
commit;
|
||||
savepoint sv;
|
||||
set autocommit=1;
|
||||
# nop
|
||||
rollback;
|
||||
|
Reference in New Issue
Block a user