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

Function ddl_log_create_view

sql/ddl_log.cc:3387–3399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3385*/
3386
3387bool ddl_log_create_view(DDL_LOG_STATE *ddl_state,
3388 const LEX_CSTRING *path,
3389 enum_ddl_log_create_view_phase phase)
3390{
3391 DDL_LOG_ENTRY ddl_log_entry;
3392 DBUG_ENTER("ddl_log_create_view");
3393
3394 bzero(&ddl_log_entry, sizeof(ddl_log_entry));
3395 ddl_log_entry.action_type= DDL_LOG_CREATE_VIEW_ACTION;
3396 ddl_log_entry.tmp_name= *const_cast<LEX_CSTRING*>(path);
3397 ddl_log_entry.phase= (uchar) phase;
3398 DBUG_RETURN(ddl_log_write(ddl_state, &ddl_log_entry));
3399}
3400
3401
3402/**

Callers 1

mysql_register_viewFunction · 0.85

Calls 1

ddl_log_writeFunction · 0.85

Tested by

no test coverage detected