mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Remove debugging code
This commit is contained in:
@@ -471,11 +471,6 @@ void mbtiles_write_metadata(sqlite3 *outdb, const char *outdir, const char *fnam
|
|||||||
}
|
}
|
||||||
sqlite3_free(sql);
|
sqlite3_free(sql);
|
||||||
|
|
||||||
FILE *f = fopen("/tmp/stats.json", "w");
|
|
||||||
std::string st = tilestats(layermap);
|
|
||||||
fprintf(f, "%s\n", st.c_str());
|
|
||||||
fclose(f);
|
|
||||||
|
|
||||||
sql = sqlite3_mprintf("INSERT INTO metadata (name, value) VALUES ('tilestats', %Q);", tilestats(layermap).c_str());
|
sql = sqlite3_mprintf("INSERT INTO metadata (name, value) VALUES ('tilestats', %Q);", tilestats(layermap).c_str());
|
||||||
if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) {
|
if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) {
|
||||||
fprintf(stderr, "set tilestats: %s\n", err);
|
fprintf(stderr, "set tilestats: %s\n", err);
|
||||||
|
|||||||
Reference in New Issue
Block a user