mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge jlindstrom@bk-internal.mysql.com:/home/bk/mysql-5.0
into hundin.mysql.fi:/home/jan/mysql-5.0
This commit is contained in:
@ -6689,12 +6689,10 @@ ha_innobase::store_lock(
|
||||
prebuilt->select_lock_type = LOCK_NONE;
|
||||
prebuilt->stored_select_lock_type = LOCK_NONE;
|
||||
} else if (thd->lex->sql_command == SQLCOM_CHECKSUM) {
|
||||
/* Use consistent read for checksum table and
|
||||
convert lock type to the TL_READ */
|
||||
/* Use consistent read for checksum table */
|
||||
|
||||
prebuilt->select_lock_type = LOCK_NONE;
|
||||
prebuilt->stored_select_lock_type = LOCK_NONE;
|
||||
lock.type = TL_READ;
|
||||
} else {
|
||||
prebuilt->select_lock_type = LOCK_S;
|
||||
prebuilt->stored_select_lock_type = LOCK_S;
|
||||
|
Reference in New Issue
Block a user