mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 13:15:32 +02:00
A fix for multi-table delete with tables optimised away.
Still not able to make a proper test case as this crashes on files where key and data pointers are 4 bytes each. Possibly a proper test case would require myisampack. sql/sql_lex.cc: Just in case ...
This commit is contained in:
parent
70aa7424c4
commit
bf95234b05
5 changed files with 17 additions and 12 deletions
|
|
@ -151,6 +151,7 @@ LEX *lex_start(THD *thd, uchar *buf,uint length)
|
|||
lex->yacc_yyss=lex->yacc_yyvs=0;
|
||||
lex->ignore_space=test(thd->sql_mode & MODE_IGNORE_SPACE);
|
||||
lex->slave_thd_opt=0;
|
||||
lex->sql_command=SQLCOM_END;
|
||||
bzero(&lex->mi,sizeof(lex->mi));
|
||||
return lex;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue