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

Function open_system_table_for_update

sql/sql_base.cc:9974–9989  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9972*/
9973
9974TABLE *
9975open_system_table_for_update(THD *thd, TABLE_LIST *one_table)
9976{
9977 DBUG_ENTER("open_system_table_for_update");
9978
9979 TABLE *table= open_ltable(thd, one_table, one_table->lock_type,
9980 MYSQL_LOCK_IGNORE_TIMEOUT);
9981 if (table)
9982 {
9983 DBUG_ASSERT(table->s->table_category == TABLE_CATEGORY_SYSTEM);
9984 table->use_all_columns();
9985 /* This table instance is not row logged */
9986 table->file->row_logging= 0;
9987 }
9988 DBUG_RETURN(table);
9989}
9990
9991/**
9992 Open a log table.

Callers 1

Calls 2

open_ltableFunction · 0.85
use_all_columnsMethod · 0.80

Tested by

no test coverage detected