[mapserver-commits] r12473 - trunk/mapserver/mapcache/src
svn at osgeo.org
svn at osgeo.org
Fri Aug 26 07:29:44 EDT 2011
Author: tbonfort
Date: 2011-08-26 04:29:44 -0700 (Fri, 26 Aug 2011)
New Revision: 12473
Modified:
trunk/mapserver/mapcache/src/cache_sqlite.c
Log:
Modified: trunk/mapserver/mapcache/src/cache_sqlite.c
===================================================================
--- trunk/mapserver/mapcache/src/cache_sqlite.c 2011-08-26 11:29:40 UTC (rev 12472)
+++ trunk/mapserver/mapcache/src/cache_sqlite.c 2011-08-26 11:29:44 UTC (rev 12473)
@@ -369,7 +369,7 @@
return NULL;
}
cache->create_stmt.sql = apr_pstrdup(ctx->pool,
- "CREATE TABLE IF NOT EXISTS tiles (zoom_level integer, tile_column integer, tile_row integer, tile_data blob, primary key(tile_row, tile_column, zoom_level)); create table if not exists metadata(foo integer);");
+ "CREATE TABLE IF NOT EXISTS tiles (zoom_level integer, tile_column integer, tile_row integer, tile_data blob, primary key(tile_row, tile_column, zoom_level)); create table if not exists metadata(name text, value text);");
cache->exists_stmt.sql = apr_pstrdup(ctx->pool,
"select 1 from tiles where tile_column=?:x and tile_row=:y and zoom_level=:z");
cache->get_stmt.sql = apr_pstrdup(ctx->pool,
More information about the mapserver-commits
mailing list