Remove vacuum step, which doesn't seem to make .mbtiles smaller in practice

yet takes time and temporary disk space to perform
This commit is contained in:
Eric Fischer 2015-07-08 12:25:09 -07:00
parent c19c913bf9
commit 6fd72d4518

View File

@ -231,10 +231,6 @@ void mbtiles_close(sqlite3 *outdb, char **argv) {
fprintf(stderr, "%s: ANALYZE failed: %s\n", argv[0], err);
exit(EXIT_FAILURE);
}
if (sqlite3_exec(outdb, "VACUUM;", NULL, NULL, &err) != SQLITE_OK) {
fprintf(stderr, "%s: VACUUM failed: %s\n", argv[0], err);
exit(EXIT_FAILURE);
}
if (sqlite3_close(outdb) != SQLITE_OK) {
fprintf(stderr, "%s: could not close database: %s\n", argv[0], sqlite3_errmsg(outdb));
exit(EXIT_FAILURE);