24#ifndef DD_VIEW_INCLUDED
25#define DD_VIEW_INCLUDED
99 const char *view_name,
bool status,
100 bool commit_dd_changes);
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
static MEM_ROOT mem_root
Definition: client_plugin.cc:114
borrowable::session_track::Schema< true > Schema
Definition: classic_protocol_session_track.h:288
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
bool update_view(THD *thd, dd::View *new_view, Table_ref *view)
Update view metadata in dd.views.
Definition: dd_view.cc:623
bool update_view_status(THD *thd, const char *schema_name, const char *view_name, bool status, bool commit_dd_changes)
Update view status(valid/invalid) value in dd.views.options.
Definition: dd_view.cc:750
enum_view_type get_sql_view_type(String_type dd_view_type)
Get the view type from type stored in DD table.
Definition: dd_view.cc:243
bool read_view(Table_ref *view, const dd::View &view_obj, MEM_ROOT *mem_root)
Read view metadata from dd.views into Table_ref.
Definition: dd_view.cc:658
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
bool create_view(THD *thd, const dd::Schema &schema, Table_ref *view)
Store view metadata in the data-dictionary.
Definition: dd_view.cc:638
required uint32 status
Definition: replication_asynchronous_connection_failover.proto:61
enum_view_type
Definition: table.h:2611
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:83