mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-23 10:30:16 +00:00
Drag tileset enumeration into C++
This commit is contained in:
parent
575072bb2f
commit
fb9f3b6068
@ -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) {
|
Loading…
x
Reference in New Issue
Block a user