mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-04 17:35:42 +02:00
Drag tileset enumeration into C++
This commit is contained in:
@@ -11,7 +11,7 @@ void enumerate(char *fname) {
|
|||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
char *sql = "SELECT zoom_level, tile_column, tile_row from tiles;";
|
const char *sql = "SELECT zoom_level, tile_column, tile_row from tiles;";
|
||||||
|
|
||||||
sqlite3_stmt *stmt;
|
sqlite3_stmt *stmt;
|
||||||
if (sqlite3_prepare_v2(db, sql, -1, &stmt, NULL) != SQLITE_OK) {
|
if (sqlite3_prepare_v2(db, sql, -1, &stmt, NULL) != SQLITE_OK) {
|
||||||
Reference in New Issue
Block a user