mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
ha_innodb.cc:
Backport of Bug #9670 to 4.0: assertion failure in ut_a(cursor->old_stored == BTR_PCUR_OLD_STORED)
This commit is contained in:
parent
19fe33e16c
commit
c9c6b82404
1 changed files with 2 additions and 1 deletions
|
@ -4928,7 +4928,8 @@ ha_innobase::store_lock(
|
|||
(lock_type == TL_READ_HIGH_PRIORITY && thd->in_lock_tables) ||
|
||||
lock_type == TL_READ_WITH_SHARED_LOCKS ||
|
||||
lock_type == TL_READ_NO_INSERT ||
|
||||
thd->lex.sql_command != SQLCOM_SELECT) {
|
||||
(thd->lex->sql_command != SQLCOM_SELECT
|
||||
&& lock_type != TL_IGNORE)) {
|
||||
|
||||
/* The OR cases above are in this order:
|
||||
1) MySQL is doing LOCK TABLES ... READ LOCAL, or
|
||||
|
|
Loading…
Reference in a new issue