diff --git a/tiledb/sqlite.go b/tiledb/sqlite.go index d0c2bcf..9d6be10 100644 --- a/tiledb/sqlite.go +++ b/tiledb/sqlite.go @@ -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 = `