mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
BUG#25897: Some queries are no longer possible after a CREATE VIEW
fails The bug was introduced with the push of the fix for bug#20953: after the error on view creation we never reset the error state, so some valid statements would give the same error after that. The solution is to properly reset the error state.
This commit is contained in:
@@ -866,10 +866,8 @@ struct st_parsing_options
|
||||
bool allows_select_procedure;
|
||||
bool allows_derived;
|
||||
|
||||
st_parsing_options()
|
||||
: allows_variable(TRUE), allows_select_into(TRUE),
|
||||
allows_select_procedure(TRUE), allows_derived(TRUE)
|
||||
{}
|
||||
st_parsing_options() { reset(); }
|
||||
void reset();
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user