Commit 89f517c8 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

ZSQLCatalog: force using READ COMMITTED isolation level in...

ZSQLCatalog: force using READ COMMITTED isolation level in getPathDictForUidList and getUidDictForPathList.

as they are only called during indexation.
parent bc72ae43
...@@ -1581,6 +1581,7 @@ class Catalog(Folder, ...@@ -1581,6 +1581,7 @@ class Catalog(Folder,
path=None, # BBB path=None, # BBB
path_list=path_list, path_list=path_list,
uid_only=False, # BBB uid_only=False, # BBB
isolation_level__='READ-COMMITTED',
) )
} }
...@@ -1595,6 +1596,7 @@ class Catalog(Folder, ...@@ -1595,6 +1596,7 @@ class Catalog(Folder,
uid=None, # BBB uid=None, # BBB
uid_list=uid_list, uid_list=uid_list,
path_only=False, # BBB path_only=False, # BBB
isolation_level__='READ-COMMITTED',
) )
} }
......
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