Merge a change from MySQL AB:

ChangeSet@1.2598.6.1  2007-11-07 12:59:22-07:00  tsmith@hindu.god

Cast away compiler warning on Windows.

ha_innodb.cc:

Cast away a compiler warning; some functions return ulong or ulint for
errors, and some use int.  Let's hope these all fit in an int.
This commit is contained in:
marko 2007-11-30 09:52:49 +00:00
parent 45579db460
commit 34e17c7f73

View file

@ -3524,7 +3524,7 @@ set_max_autoinc:
err = innobase_set_max_autoinc(auto_inc);
if (err != DB_SUCCESS) {
error = err;
error = (int) err;
}
}
break;