--- a/server/ssplanner.py Fri Dec 09 12:57:22 2011 +0100
+++ b/server/ssplanner.py Mon Dec 12 12:09:49 2011 +0100
@@ -392,7 +392,8 @@
# cachekey
if inputmap or self.plan.cache_key is None:
cachekey = None
- # union may have been splited into subqueries, rebuild a cache key
+ # union may have been splited into subqueries, in which case we can't
+ # use plan.cache_key, rebuild a cache key
elif isinstance(self.plan.cache_key, tuple):
cachekey = list(self.plan.cache_key)
cachekey[0] = union.as_string()