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

Function compare_records

sql/sql_update.cc:73–125  ·  view source on GitHub ↗

Compares the input and outbut record buffers of the table to see if a row has changed. The algorithm iterates over updated columns and if they are nullable compares NULL bits in the buffer before comparing actual data. Special care must be taken to compare only the relevant NULL bits and mask out all others as they may be undefined. The storage engine will not and should not touch t

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

write_recordFunction · 0.85
send_dataMethod · 0.85
do_updatesMethod · 0.85

Calls 6

records_are_comparableFunction · 0.85
bitmap_is_setFunction · 0.85
ha_table_flagsMethod · 0.80
real_maybe_nullMethod · 0.80
null_offsetMethod · 0.80
cmp_binary_offsetMethod · 0.45

Tested by

no test coverage detected