A problem was seen in c-treeDB using batch operations on compressed files. This problem can cause a number or different effects, such as seeing Error 4108, retrieving the wrong record, and data corruption on insert. This logic has been changed to correct this problem.