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

Method open

sql/table.cc:10669–10689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10667}
10668
10669bool TR_table::open()
10670{
10671 DBUG_ASSERT(!table);
10672 open_tables_backup= new Open_tables_backup;
10673 if (!open_tables_backup)
10674 {
10675 my_error(ER_OUT_OF_RESOURCES, MYF(0));
10676 return true;
10677 }
10678
10679 All_tmp_tables_list *temporary_tables= thd->temporary_tables;
10680 bool error= !open_log_table(thd, this, open_tables_backup);
10681 thd->temporary_tables= temporary_tables;
10682
10683 if (use_transaction_registry == MAYBE)
10684 error= check(error);
10685
10686 use_transaction_registry= error ? NO : YES;
10687
10688 return error;
10689}
10690
10691TR_table::~TR_table()
10692{

Callers

nothing calls this directly

Calls 3

my_errorFunction · 0.85
open_log_tableFunction · 0.85
checkFunction · 0.85

Tested by

no test coverage detected