Commit 59ed711e authored by heikki@donna.mysql.fi's avatar heikki@donna.mysql.fi

sql_yacc.yy changed ...IN SHARE MODE to ...LOCK IN SHARE MODE to resolve a...

sql_yacc.yy	changed ...IN SHARE MODE to ...LOCK IN SHARE MODE to resolve a parsing bug after a WHERE clause
parent afbc2c8e
......@@ -1270,7 +1270,7 @@ select_lock_type:
/* empty */
| FOR_SYM UPDATE_SYM
{ Lex->lock_option= TL_WRITE; }
| IN_SYM SHARE_SYM MODE_SYM
| LOCK_SYM IN_SYM SHARE_SYM MODE_SYM
{ Lex->lock_option= TL_READ_WITH_SHARED_LOCKS; }
select_item_list:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment