mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Merge work.mysql.com:/home/bk/mysql
into donna.mysql.fi:/home/heikki/mysql BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
This commit is contained in:
commit
9ab26a65bb
2 changed files with 7 additions and 0 deletions
|
@ -1 +1,2 @@
|
|||
mwagner@evoq.mwagner.org
|
||||
heikki@donna.mysql.fi
|
||||
|
|
|
@ -2031,6 +2031,12 @@ ha_innobase::external_lock(
|
|||
trx->n_mysql_tables_in_use++;
|
||||
} else {
|
||||
trx->n_mysql_tables_in_use--;
|
||||
|
||||
if (trx->n_mysql_tables_in_use == 0 &&
|
||||
!(thd->options
|
||||
& (OPTION_NOT_AUTO_COMMIT | OPTION_BEGIN))) {
|
||||
innobase_commit(thd, trx);
|
||||
}
|
||||
}
|
||||
|
||||
DBUG_RETURN(error);
|
||||
|
|
Loading…
Reference in a new issue