Commit 9d93f9da authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-8827: Fix the 32-bit build

Follow-up to 07ba5560:
Use the correct 64-bit type name ulonglong instead of ulint,
like in mysql/mysql-server@4e0100d86b1b46be0107ebd46a98a0c2dbb0fab4
parent 739f5239
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment