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

Function IF_DBUG

sql/sql_table.cc:9898–9913  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9896 }
9897
9898 IF_DBUG(uint removed= 0,);
9899 /* Remove the identified keys */
9900 List_iterator<FOREIGN_KEY_INFO> remove_it(keys_to_remove);
9901 while ((f_key = remove_it++))
9902 {
9903 fk_parent_key_it.rewind();
9904 while (FOREIGN_KEY_INFO *fk= fk_parent_key_it++)
9905 {
9906 if (fk == f_key)
9907 {
9908 fk_parent_key_it.remove();
9909 IF_DBUG(removed++,);
9910 break;
9911 }
9912 }
9913 }
9914 DBUG_ASSERT(keys_to_remove.elements == removed);
9915 IF_DBUG(removed= 0,);
9916 /*

Callers 14

fix_escape_itemFunction · 0.85
mysqld.ccFile · 0.85
write_cache_rawMethod · 0.85
prepare_for_resendMethod · 0.85
slave.ccFile · 0.85
init_slave_threadFunction · 0.85
my_b_encr_writeFunction · 0.85
sys_vars.ccFile · 0.85
lock0lock.ccFile · 0.85
buf0buf.ccFile · 0.85
buf_flush_page_cleanerFunction · 0.85

Calls 2

rewindMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected