1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

manual.texi Added that InnoDB tablespace must be at least 10 MB, removed single quotes from phantom

srv0start.c	Tablespace size must be at least 10 MB


innobase/srv/srv0start.c:
  Tablespace size must be at least 10 MB
Docs/manual.texi:
  Added that InnoDB tablespace must be at least 10 MB, removed single quotes from phantom
This commit is contained in:
unknown
2001-05-21 16:28:27 +03:00
parent fe0a2ed739
commit 9171d4da59
2 changed files with 15 additions and 1 deletions

View File

@ -608,6 +608,19 @@ innobase_start_or_create_for_mysql(void)
return(DB_ERROR);
}
sum_of_new_sizes = 0;
for (i = 0; i < srv_n_data_files; i++) {
sum_of_new_sizes += srv_data_file_sizes[i];
}
if (sum_of_new_sizes < 640) {
fprintf(stderr,
"InnoDB: Error: tablespace size must be at least 10 MB\n");
return(DB_ERROR);
}
err = open_or_create_data_files(&create_new_db,
&min_flushed_lsn, &min_arch_log_no,
&max_flushed_lsn, &max_arch_log_no,