[mapserver-commits] r12474 - trunk/mapserver/mapcache/src
svn at osgeo.org
svn at osgeo.org
Fri Aug 26 07:29:50 EDT 2011
Author: tbonfort
Date: 2011-08-26 04:29:50 -0700 (Fri, 26 Aug 2011)
New Revision: 12474
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:44 UTC (rev 12473)
+++ trunk/mapserver/mapcache/src/cache_sqlite.c 2011-08-26 11:29:50 UTC (rev 12474)
@@ -379,7 +379,7 @@
cache->delete_stmt.sql = apr_pstrdup(ctx->pool,
"delete from tiles where tile_column=:x and tile_row=:y and zoom_level=:z");
cache->hitstat_stmt.sql = apr_pstrdup(ctx->pool,
- "update tiles set hitcount=hitcount+1, atime=datetime('now') where x=:x and y=:y and z=:z and dim=:dim");
+ "select 1");
return (geocache_cache*)cache;
}
More information about the mapserver-commits
mailing list