Fix for bug #15108: mysqld crashes when innodb_log_file_size is set > 4G

sql/ha_innodb.cc:
  Fix for bug #15108: mysqld crashes when innodb_log_file_size is set > 4G
  - return 1 in case of error.
This commit is contained in:
unknown 2005-11-24 13:04:05 +04:00
commit e72ec933d9

View file

@ -1218,7 +1218,7 @@ innobase_init(void)
"innobase_buffer_pool_size can't be over 4GB"
" on 32-bit systems");
DBUG_RETURN(0);
goto error;
}
if (innobase_log_file_size > UINT_MAX32) {
@ -1226,7 +1226,7 @@ innobase_init(void)
"innobase_log_file_size can't be over 4GB"
" on 32-bit systems");
DBUG_RETURN(0);
goto error;
}
}