summaryrefslogtreecommitdiff
path: root/sql/sql_sequence.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-11-27 14:43:24 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-11-27 14:43:24 +0000
commit1c4968f2f39ee7796853d70d71b061989293bacb (patch)
tree5cc740cf245417bcb63d61dacff4509fd678c8bd /sql/sql_sequence.cc
parent1029b22feb8d9768df9e8b7b0344e2961bf82659 (diff)
downloadmariadb-git-1c4968f2f39ee7796853d70d71b061989293bacb.tar.gz
Fix warnings
Diffstat (limited to 'sql/sql_sequence.cc')
-rw-r--r--sql/sql_sequence.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_sequence.cc b/sql/sql_sequence.cc
index 1af37fe1fad..e2d3f225e47 100644
--- a/sql/sql_sequence.cc
+++ b/sql/sql_sequence.cc
@@ -113,7 +113,7 @@ bool sequence_definition::check_and_adjust(bool set_reserved_until)
/* To ensure that cache * real_increment will never overflow */
max_increment= (real_increment ?
- labs(real_increment) :
+ llabs(real_increment) :
MAX_AUTO_INCREMENT_VALUE);
if (max_value >= start &&