summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwayne <i@waynest.com>2019-04-14 22:24:26 +0800
committerAnel Husakovic <anel@mariadb.org>2019-04-15 23:46:02 -0700
commita2335b791aa06fbf4b784486ed9d34ba75af9d51 (patch)
treed07995d12f211037052b749954300a6b58467493
parent4dc10ec68d354241768ce4779c024b4bb2ca897b (diff)
downloadmariadb-git-a2335b791aa06fbf4b784486ed9d34ba75af9d51.tar.gz
Typo fix in sql_sequence.cc
-rw-r--r--sql/sql_sequence.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_sequence.cc b/sql/sql_sequence.cc
index 1fb2e5e7714..d672e7368d3 100644
--- a/sql/sql_sequence.cc
+++ b/sql/sql_sequence.cc
@@ -88,13 +88,13 @@ bool sequence_definition::check_and_adjust(bool set_reserved_until)
/*
If min_value is not set, set it to LONGLONG_MIN or 1, depending on
- increment
+ real_increment
*/
if (!(used_fields & seq_field_used_min_value))
min_value= real_increment < 0 ? LONGLONG_MIN+1 : 1;
/*
- 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
real_increment
*/
if (!(used_fields & seq_field_used_max_value))