re-enable tiledb

This commit is contained in:
NatureFreshMilk 2019-01-17 16:32:36 +01:00
parent 8e49703a27
commit 05ec5ded3e

View File

@ -86,9 +86,8 @@ values(?, ?, ?, ?, ?, ?)
`
func (db *Sqlite3Accessor) SetTile(tile *Tile) error {
//_, err := db.db.Exec(setTileQuery, tile.Pos.X, tile.Pos.Y, tile.Pos.Zoom, tile.Pos.LayerId, tile.Data, tile.Mtime)
//return err
return nil
_, err := db.db.Exec(setTileQuery, tile.Pos.X, tile.Pos.Y, tile.Pos.Zoom, tile.Pos.LayerId, tile.Data, tile.Mtime)
return err
}
const removeTileQuery = `