3604
3604
&& prebuilt->select_lock_type != LOCK_NONE
3605
3605
&& trx->mysql_query_str != NULL
3606
3606
&& *trx->mysql_query_str != NULL
3609
3609
/* Scan the MySQL query string; check if SELECT is the first
3612
3612
if (dict_str_starts_with_keyword(
3614
3614
/* It is a plain locking SELECT and the isolation
3615
3615
level is low: do not lock gaps */