| 10667 | } |
| 10668 | |
| 10669 | bool 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 | |
| 10691 | TR_table::~TR_table() |
| 10692 | { |
nothing calls this directly
no test coverage detected