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

Function prev_insert_id

sql/handler.cc:2793–2814  ·  view source on GitHub ↗

@brief Computes the largest number X: - smaller than or equal to "nr" - of the form: auto_increment_offset + N * auto_increment_increment where N>=0. SYNOPSIS prev_insert_id nr Number to "round down" variables variables struct containing auto_increment_increment and auto_increment_offset RETURN The number X if it exists, "nr" oth

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

update_auto_incrementMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected