1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix warnings

This commit is contained in:
Vladislav Vaintroub
2018-01-05 17:11:37 +00:00
parent e9a2082634
commit 894fbe6862
3 changed files with 7 additions and 8 deletions

View File

@ -112,7 +112,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 &&