summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@sun.com>2009-11-03 14:23:22 +0400
committerSergey Vojtovich <svoj@sun.com>2009-11-03 14:23:22 +0400
commit74d505db0beb86ae8e32cfa724ce1908a35a58a5 (patch)
tree058ddb7267fb1e1abb1d390f0160e0019a0afe46 /storage
parent57b74a02febc9ce7350034e61d975a7e874db7c3 (diff)
downloadmariadb-git-74d505db0beb86ae8e32cfa724ce1908a35a58a5.tar.gz
Applying InnoDB plugin snashot
Detailed revision comments: r6105 | calvin | 2009-10-28 00:05:52 +0200 (Wed, 28 Oct 2009) | 6 lines 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)
Diffstat (limited to 'storage')
-rw-r--r--storage/innodb_plugin/srv/srv0start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innodb_plugin/srv/srv0start.c b/storage/innodb_plugin/srv/srv0start.c
index 37263317126..796541a9f1a 100644
--- a/storage/innodb_plugin/srv/srv0start.c
+++ b/storage/innodb_plugin/srv/srv0start.c
@@ -1376,7 +1376,7 @@ innobase_start_or_create_for_mysql(void)
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,
"InnoDB: Error: tablespace size must be"
" at least 10 MB\n");