There was an error while loading. Please reload this page.
1 parent 4dc10ec commit a2335b7Copy full SHA for a2335b7
sql/sql_sequence.cc
@@ -88,13 +88,13 @@ bool sequence_definition::check_and_adjust(bool set_reserved_until)
88
89
/*
90
If min_value is not set, set it to LONGLONG_MIN or 1, depending on
91
- increment
+ real_increment
92
*/
93
if (!(used_fields & seq_field_used_min_value))
94
min_value= real_increment < 0 ? LONGLONG_MIN+1 : 1;
95
96
97
- If min_value is not set, set it to LONGLONG_MAX or -1, depending on
+ If max_value is not set, set it to LONGLONG_MAX or -1, depending on
98
real_increment
99
100
if (!(used_fields & seq_field_used_max_value))
0 commit comments