mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
Merge hundin.mysql.fi:/home/heikki/mysql-4.0
into hundin.mysql.fi:/home/heikki/mysql-4.1
This commit is contained in:
commit
73f61e9d15
1 changed files with 2 additions and 1 deletions
|
@ -5051,7 +5051,8 @@ ha_innobase::external_lock(
|
|||
|
||||
if (prebuilt->select_lock_type != LOCK_NONE) {
|
||||
if (thd->in_lock_tables &&
|
||||
thd->variables.innodb_table_locks) {
|
||||
thd->variables.innodb_table_locks &&
|
||||
(thd->options & OPTION_NOT_AUTOCOMMIT)) {
|
||||
ulint error;
|
||||
error = row_lock_table_for_mysql(prebuilt,
|
||||
NULL, LOCK_TABLE_EXP);
|
||||
|
|
Loading…
Reference in a new issue