summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <heikki@donna.mysql.fi>2001-05-03 14:41:03 +0300
committerunknown <heikki@donna.mysql.fi>2001-05-03 14:41:03 +0300
commit5461e6717c588b3c566c7edb4cd1b0d662e1a92c (patch)
treed77bdfef48b4c09b4d9b376d4e26b91cb8325a52 /sql
parent491c2cbc504286425601fb7b1de44ba767cde473 (diff)
downloadmariadb-git-5461e6717c588b3c566c7edb4cd1b0d662e1a92c.tar.gz
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
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_yacc.yy2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 1196d279e5c..cb89dc04c15 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -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: