Merge a change from MySQL AB:

ChangeSet@1.2528.116.44  2007-09-12 18:16:50-07:00  antony@xiphis.org

Changes for pushbuild test runs and VSC compile warnings

ha_innodb.cc:

resolve a VSC++ typecast compile warning.
This commit is contained in:
marko 2007-11-30 09:44:34 +00:00
parent d247fe38c3
commit 4cf68d69de

View file

@ -7353,7 +7353,7 @@ ha_innobase::get_auto_increment(
/* Called for the first time ? */
if (trx->n_autoinc_rows == 0) {
trx->n_autoinc_rows = nb_desired_values;
trx->n_autoinc_rows = (ulint) nb_desired_values;
/* It's possible for nb_desired_values to be 0:
e.g., INSERT INTO T1(C) SELECT C FROM T2; */