Commit 2a269a2e authored by Jérome Perrin's avatar Jérome Perrin

ZSQLCatalog: use _getProperty to skip security checks

During indexation we don't apply security checks, so this should be a
little bit faster.
parent 2d639a58
......@@ -1395,7 +1395,7 @@ class Catalog(Folder,
# objects but we could also use over multiple transactions
# if this can improve performance significantly
# ZZZ - we could find a way to compute this once only
cache_key = tuple(object.getProperty(key) for key
cache_key = tuple(object._getProperty(key) for key
in expression_cache_key_list)
try:
if expression_result_cache[cache_key]:
......
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