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

Method has_run_out

sql/sql_sequence.h:157–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155 int set_value(TABLE *table, longlong next_value, ulonglong round_arg,
156 bool is_used);
157 bool has_run_out()
158 {
159 return all_values_used ||
160 (!cycle &&
161 !within_bound(next_free_value, max_value + 1, min_value - 1,
162 real_increment > 0));
163 }
164
165 bool all_values_used;
166 seq_init initialized;

Callers 1

checkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected