24#ifndef DD_VIEW_INCLUDED
25#define DD_VIEW_INCLUDED
96 const char *view_name,
bool status,
97 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:578
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:696
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:613
bool create_view(THD *thd, const dd::Schema &schema, Table_ref *view)
Store view metadata in the data-dictionary.
Definition: dd_view.cc:593
required uint32 status
Definition: replication_asynchronous_connection_failover.proto:61
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:83