Commit cc586595 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent ca1807cd
......@@ -62,10 +62,10 @@ from zodbtools.util import storageFromURL, ashex
from persistent import CHANGED
from persistent.mapping import PersistentMapping
# XXX hack set LOBTree.LOBTree -> XLOTree so that
# XXX hack set XLOTree module/class -> BTree.LOBTree.LOBTree so that generated
# database looks as if regular LOBTree was used. However XLOTree has small max
# node sizes (which we cannot tune directly in LOBTree)
# XXX hack: set LOBTree.LOBTree -> XLOTree so that nodes are split often
# (XLOTree is LOBTree with small .max_*_size). Do it this way so that generated
# database looks as if regular LOBTree was used. We use the hack because
# we cannot tune LOBTree directly.
XLOTree = xbtree_test.XLOTree
XLOTree.__module__ = 'BTrees.LOBTree'
XLOTree.__name__ = 'LOBTree'
......
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