Commit 5461e671 authored by unknown's avatar unknown

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


sql/sql_yacc.yy:
  changed ...IN SHARE MODE to ...LOCK IN SHARE MODE to resolve a parsing bug after a WHERE clause
parent 491c2cbc
...@@ -1270,7 +1270,7 @@ select_lock_type: ...@@ -1270,7 +1270,7 @@ select_lock_type:
/* empty */ /* empty */
| FOR_SYM UPDATE_SYM | FOR_SYM UPDATE_SYM
{ Lex->lock_option= TL_WRITE; } { 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; } { Lex->lock_option= TL_READ_WITH_SHARED_LOCKS; }
select_item_list: 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