-
-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(stonedb): parent_lex->result
in Engine::GetFilename
is nullptr leads StoneDB to crash.
#557
Comments
|
cause of crash :“selects_list->parent_lex->result” :the “result” pointer is null |
Yes, pls fix it. |
|
parent_lex->result
in Engine::GetFilename
is nullptr leads StoneDB to crash.
in mysql8.0 execute flow is as below,lex->query_block->parent_lex->result->exchange value is correct.
|
note:exexute select into outfile....clause.
|
parent_lex->result
in Engine::GetFilename
is nullptr leads StoneDB to crash.parent_lex->result
in Engine::GetFilename
is nullptr leads StoneDB to crash.
conclusiton: |
ACK |
…tr. (stoneatom#557) [summary] 1 "SELECT ... INTO OUTFILE/DUMPFILE",parent_lex->result is not nullptr; 2 "SELECT ... FORM ",normal clause,parent_lex->result is nullptr; 3 parent_lex->result can be used to check the dumpfile,just to check null value;
the definition of parent_lex is listed below. |
…tr. (stoneatom#557) [summary] 1 "SELECT ... INTO OUTFILE/DUMPFILE",parent_lex->result is not nullptr; 2 "SELECT ... FORM ",normal clause,parent_lex->result is nullptr; 3 parent_lex->result can be used to check the dumpfile,just to check null value;
…tr. (#557) [summary] 1 "SELECT ... INTO OUTFILE/DUMPFILE",parent_lex->result is not nullptr; 2 "SELECT ... FORM ",normal clause,parent_lex->result is nullptr; 3 parent_lex->result can be used to check the dumpfile,just to check null value;
Is your feature request related to a problem? Please describe.
From Engine::GetFilename
selects_list->parent_lex->exchange
is deleted by MySQL 8.0Describe the solution you'd like
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: