mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 05:05:33 +02:00
BUG#9922 - INSERT SELECT with UNIONs allows concurrent INSERTs
don't set lex->lock_option=TL_READ in the parser for SELECT
This commit is contained in:
parent
2a8f6bb188
commit
e2d9929d2c
2 changed files with 1 additions and 1 deletions
|
|
@ -147,6 +147,7 @@ LEX *lex_start(THD *thd, uchar *buf,uint length)
|
|||
lex->select->in_sum_expr=0;
|
||||
lex->select->expr_list.empty();
|
||||
lex->select->ftfunc_list.empty();
|
||||
lex->lock_option=TL_READ;
|
||||
lex->convert_set=(lex->thd=thd)->variables.convert_set;
|
||||
lex->yacc_yyss=lex->yacc_yyvs=0;
|
||||
lex->ignore_space=test(thd->sql_mode & MODE_IGNORE_SPACE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue