MCPcopy Create free account
hub / github.com/MariaDB/server / create_or_alter_view_finalize

Method create_or_alter_view_finalize

sql/sql_lex.cc:10385–10396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10383
10384
10385bool 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
10399bool LEX::add_alter_view(THD *thd, uint16 algorithm,

Callers

nothing calls this directly

Calls 1

add_table_to_listMethod · 0.80

Tested by

no test coverage detected