Skip to content
Permalink
Browse files

MDEV-8827: Fix the 32-bit build

Follow-up to 07ba556:
Use the correct 64-bit type name ulonglong instead of ulint,
like in mysql/mysql-server@4e0100d
  • Loading branch information...
dr-m committed Jul 23, 2019
1 parent 739f523 commit 9d93f9dac4d144e8b08d2ba175c10b068daf9235
Showing with 2 additions and 2 deletions.
  1. +1 −1 storage/innobase/handler/ha_innodb.cc
  2. +1 −1 storage/xtradb/handler/ha_innodb.cc
@@ -10476,7 +10476,7 @@ ha_innobase::get_auto_increment(
if (increment > 1 && thd_sql_command(user_thd) != SQLCOM_ALTER_TABLE
&& autoinc < col_max_value) {

ulint prev_auto_inc = autoinc;
ulonglong prev_auto_inc = autoinc;

autoinc = ((autoinc - 1) + increment - offset)/ increment;

@@ -11745,7 +11745,7 @@ ha_innobase::get_auto_increment(
if (increment > 1 && thd_sql_command(user_thd) != SQLCOM_ALTER_TABLE
&& autoinc < col_max_value) {

ulint prev_auto_inc = autoinc;
ulonglong prev_auto_inc = autoinc;

autoinc = ((autoinc - 1) + increment - offset)/ increment;

0 comments on commit 9d93f9d

Please sign in to comment.
You can’t perform that action at this time.