Commit 217856cb authored by calvin's avatar calvin

branches/zip: backport r3848 from 6.0 branch

----
    branches/6.0: innobase_start_or_create_for_mysql(): Make the 10 MB
    minimum tablespace limit independent of UNIV_PAGE_SIZE. (Bug #41490)
parent bdc7678f
...@@ -1376,7 +1376,7 @@ innobase_start_or_create_for_mysql(void) ...@@ -1376,7 +1376,7 @@ innobase_start_or_create_for_mysql(void)
sum_of_new_sizes += srv_data_file_sizes[i]; sum_of_new_sizes += srv_data_file_sizes[i];
} }
if (sum_of_new_sizes < 640) { if (sum_of_new_sizes < 10485760 / UNIV_PAGE_SIZE) {
fprintf(stderr, fprintf(stderr,
"InnoDB: Error: tablespace size must be" "InnoDB: Error: tablespace size must be"
" at least 10 MB\n"); " at least 10 MB\n");
......
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