Commit 8c66ed2c authored by osku's avatar osku

Port r139 from branches/5.0:

From MySQL:

Fix bug #15108 (mysqld crashes when innodb_log_file_size is set > 4GB).
parent 36ef1556
...@@ -1239,7 +1239,7 @@ innobase_init(void) ...@@ -1239,7 +1239,7 @@ innobase_init(void)
"innobase_buffer_pool_size can't be over 4GB" "innobase_buffer_pool_size can't be over 4GB"
" on 32-bit systems"); " on 32-bit systems");
DBUG_RETURN(0); goto error;
} }
if (innobase_log_file_size > UINT_MAX32) { if (innobase_log_file_size > UINT_MAX32) {
...@@ -1247,7 +1247,7 @@ innobase_init(void) ...@@ -1247,7 +1247,7 @@ innobase_init(void)
"innobase_log_file_size can't be over 4GB" "innobase_log_file_size can't be over 4GB"
" on 32-bit systems"); " on 32-bit systems");
DBUG_RETURN(0); goto error;
} }
} }
......
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