1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fix warnings

This commit is contained in:
Vladislav Vaintroub
2017-11-27 14:43:24 +00:00
parent 1029b22feb
commit 1c4968f2f3
4 changed files with 8 additions and 9 deletions

View File

@ -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 &&