| 10383 | |
| 10384 | |
| 10385 | bool LEX::create_or_alter_view_finalize(THD *thd, Table_ident *table_ident) |
| 10386 | { |
| 10387 | sql_command= SQLCOM_CREATE_VIEW; |
| 10388 | /* first table in list is target VIEW name */ |
| 10389 | if (!first_select_lex()->add_table_to_list(thd, table_ident, NULL, |
| 10390 | TL_OPTION_UPDATING, |
| 10391 | TL_IGNORE, |
| 10392 | MDL_EXCLUSIVE)) |
| 10393 | return true; |
| 10394 | query_tables->open_strategy= TABLE_LIST::OPEN_STUB; |
| 10395 | return false; |
| 10396 | } |
| 10397 | |
| 10398 | |
| 10399 | bool LEX::add_alter_view(THD *thd, uint16 algorithm, |
nothing calls this directly
no test coverage detected