Commit d5160c76 authored by unknown's avatar unknown

Merge work.mysql.com:/home/bk/mysql

into donna.mysql.fi:/home/heikki/mysql


BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
parents 3ecfa45f ff769296
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment