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

Function error_if_full_join

sql/sql_select.cc:16684–16698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16682*/
16683
16684bool error_if_full_join(JOIN *join)
16685{
16686 for (JOIN_TAB *tab=first_top_level_tab(join, WITH_CONST_TABLES); tab;
16687 tab= next_top_level_tab(join, tab))
16688 {
16689 if ((tab->type == JT_ALL || tab->type == JT_NEXT))
16690 {
16691 my_message(ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE,
16692 ER_THD(join->thd,
16693 ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE), MYF(0));
16694 return(1);
16695 }
16696 }
16697 return(0);
16698}
16699
16700
16701/**

Callers 2

initialize_tablesMethod · 0.85
initialize_tablesMethod · 0.85

Calls 3

first_top_level_tabFunction · 0.85
next_top_level_tabFunction · 0.85
my_messageFunction · 0.85

Tested by

no test coverage detected