[mapserver-commits] r12285 - trunk/mapserver/mapcache/src

svn at osgeo.org svn at osgeo.org
Fri Aug 26 07:13:51 EDT 2011


Author: tbonfort
Date: 2011-08-26 04:13:51 -0700 (Fri, 26 Aug 2011)
New Revision: 12285

Modified:
   trunk/mapserver/mapcache/src/cache_disk.c
Log:
add memcache cache backend

fixes issue 38.
thomas.bonfort | 2011-01-25 16:33:23 +0100 (Tue, 25 Jan 2011)

Modified: trunk/mapserver/mapcache/src/cache_disk.c
===================================================================
--- trunk/mapserver/mapcache/src/cache_disk.c	2011-08-26 11:13:47 UTC (rev 12284)
+++ trunk/mapserver/mapcache/src/cache_disk.c	2011-08-26 11:13:51 UTC (rev 12285)
@@ -163,10 +163,6 @@
       ctx->set_error(ctx,500,"attempting to write empty tile to disk");
       return;
    }
-   if(!tile->lock) {
-      ctx->set_error(ctx,500,"attempting to write to an unlocked tile");
-      return;
-   }
 #endif
    _geocache_cache_disk_tile_key(ctx, tile, &filename);
    GC_CHECK_ERROR(ctx);



More information about the mapserver-commits mailing list