MCPcopy Create free account
hub / github.com/arkdb/inception / open_table

Method open_table

sql/rpl_info_table_access.cc:47–121  ·  view source on GitHub ↗

Opens and locks a table. It's assumed that the caller knows what they are doing: - whether it was necessary to reset-and-backup the open tables state - whether the requested lock does not lead to a deadlock - whether this open mode would work under LOCK TABLES, or inside a stored function or trigger. Note that if the table can't be locked successfully this operation will close it.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

do_init_infoMethod · 0.80
do_flush_infoMethod · 0.80
do_clean_infoMethod · 0.80
do_reset_infoMethod · 0.80
do_check_infoMethod · 0.80
do_count_infoMethod · 0.80

Calls 12

lex_startFunction · 0.85
close_thread_tablesFunction · 0.85
my_errorFunction · 0.85
ha_rollback_transFunction · 0.85
init_one_tableMethod · 0.80
use_all_columnsMethod · 0.80
open_n_lock_single_tableFunction · 0.70

Tested by

no test coverage detected