1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix for bug #22728 "Handler_rollback value is growing".

The bug is present only in 4.1, will be null-merged to 5.0

For InnoDB, check value of thd->transaction.all.innodb_active_trans instead of thd->transaction.stmt.innobase_tid to see if we really need to rollback.
This commit is contained in:
kaa@polly.local
2006-10-11 12:44:03 +04:00
parent 66fa757e1f
commit 456fe01d7e
3 changed files with 29 additions and 1 deletions

View File

@ -54,3 +54,13 @@ c.c_id = 218 and expiredate is null;
slai_id
12
drop table t1, t2;
flush status;
create table t1 (c1 int) engine=innodb;
handler t1 open;
handler t1 read first;
c1
show /*!50002 GLOBAL */ status like 'Handler_rollback';
Variable_name Value
Handler_rollback 0
drop table t1;
End of 4.1 tests