1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

ha_innodb.cc:

Fix compilation error in previous commit
This commit is contained in:
heikki@hundin.mysql.fi
2005-08-03 18:47:50 +03:00
parent c9c6b82404
commit 353b3a2cad

View File

@ -4928,7 +4928,7 @@ 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: