Commit a370d541 authored by Hanno Schlichting's avatar Hanno Schlichting

Include a timestamp in the plan

parent 4938ef3f
......@@ -885,6 +885,7 @@ class ZCatalog(Folder, Persistent, Implicit):
"""Get a string representation of a query plan"""
plan = PriorityMap.get_plan()
output = []
output.append('# query plan dumped at %r\n' % time.asctime())
output.append('queryplan = {')
for querykey, details in sorted(plan.items()):
output.append(' %s: {' % repr(querykey))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment