| 444 | } |
| 445 | |
| 446 | void |
| 447 | dbcontext::close_tables_if() |
| 448 | { |
| 449 | unlock_tables_if(); |
| 450 | DENA_VERBOSE(100, fprintf(stderr, "HNDSOCK close tables\n")); |
| 451 | close_thread_tables(thd); |
| 452 | thd->mdl_context.release_transactional_locks(thd); |
| 453 | if (!table_vec.empty()) { |
| 454 | statistic_increment(close_tables_count, &LOCK_status); |
| 455 | table_vec.clear(); |
| 456 | table_map.clear(); |
| 457 | } |
| 458 | } |
| 459 | |
| 460 | void |
| 461 | dbcontext::table_addref(size_t tbl_id) |
no test coverage detected