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

Function is_update_query

sql/sql_parse.cc:923–927  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

921}
922
923bool is_update_query(enum enum_sql_command command)
924{
925 DBUG_ASSERT(command <= SQLCOM_END);
926 return (sql_command_flags[command] & CF_CHANGES_DATA) != 0;
927}
928
929/**
930 Check if a sql command is allowed to write to log tables.

Callers 11

get_var_with_binlogFunction · 0.70
merge_lexMethod · 0.70
wsrep_must_sync_waitFunction · 0.70
update_statsMethod · 0.70
cleanup_after_queryMethod · 0.70
read_lock_type_for_tableFunction · 0.70
setup_set_paramsMethod · 0.70
store_lockMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected