MDEV-10035: DBUG_ASSERT on CREATE VIEW v1 AS SELECT * FROM t1 FOR UPDATE

Ability to print lock type added.
Restoring correct lock type for CREATE VIEW added.
This commit is contained in:
Oleksandr Byelkin 2017-01-04 13:26:09 +01:00
commit bc4cac358e
7 changed files with 68 additions and 0 deletions

View file

@ -846,6 +846,9 @@ public:
/* namp of nesting SELECT visibility (for aggregate functions check) */
nesting_map name_visibility_map;
/* it is for correct printing SELECT options */
thr_lock_type lock_type;
void init_query();
void init_select();
st_select_lex_unit* master_unit();