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

Function update_precheck

sql/sql_parse.cc:9731–9741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9729*/
9730
9731bool update_precheck(THD *thd, TABLE_LIST *tables)
9732{
9733 DBUG_ENTER("update_precheck");
9734 if (thd->lex->first_select_lex()->item_list.elements !=
9735 thd->lex->value_list.elements)
9736 {
9737 my_message(ER_WRONG_VALUE_COUNT, ER_THD(thd, ER_WRONG_VALUE_COUNT), MYF(0));
9738 DBUG_RETURN(TRUE);
9739 }
9740 DBUG_RETURN(check_one_table_access(thd, UPDATE_ACL, tables));
9741}
9742
9743
9744/**

Callers 1

precheckMethod · 0.85

Calls 3

my_messageFunction · 0.85
first_select_lexMethod · 0.80
check_one_table_accessFunction · 0.70

Tested by

no test coverage detected