1
0
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:
kroki/tomash@moonlight.home
2007-02-04 16:49:24 +03:00
parent 093eba867d
commit 664cd8b6a9
4 changed files with 41 additions and 4 deletions

View File

@@ -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();
};