A fix for Bug#32724 "innodb_mysql.test fails randomly".
Enable back the disabled test case. mysql-test/t/disabled.def: Enable the test case innodb_mysql. sql/sql_parse.cc: Fix the random failure of innodb_mysql test. The failure is not random any more after a patch for Bug 12713 added asserts around handler commit.
This commit is contained in:
parent
ed0fd2f628
commit
17ec1c3c3b
@ -16,7 +16,6 @@ ctype_big5 : BUG#26711 2007-06-21 Lars Test has never worked on Do
|
|||||||
|
|
||||||
federated_transactions : Bug#29523 Transactions do not work
|
federated_transactions : Bug#29523 Transactions do not work
|
||||||
lowercase_table3 : Bug#32667 lowercase_table3.test reports to error log
|
lowercase_table3 : Bug#32667 lowercase_table3.test reports to error log
|
||||||
innodb_mysql : Bug#32724: innodb_mysql.test fails randomly
|
|
||||||
ctype_create : Bug#32965 main.ctype_create fails
|
ctype_create : Bug#32965 main.ctype_create fails
|
||||||
status : Bug#32966 main.status fails
|
status : Bug#32966 main.status fails
|
||||||
ps_ddl : Bug#12093 2007-12-14 pending WL#4165 / WL#4166
|
ps_ddl : Bug#12093 2007-12-14 pending WL#4165 / WL#4166
|
||||||
|
@ -3301,6 +3301,7 @@ end_with_restore_list:
|
|||||||
can free its locks if LOCK TABLES locked some tables before finding
|
can free its locks if LOCK TABLES locked some tables before finding
|
||||||
that it can't lock a table in its list
|
that it can't lock a table in its list
|
||||||
*/
|
*/
|
||||||
|
ha_autocommit_or_rollback(thd, 1);
|
||||||
end_active_trans(thd);
|
end_active_trans(thd);
|
||||||
thd->options&= ~(OPTION_TABLE_LOCK);
|
thd->options&= ~(OPTION_TABLE_LOCK);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user