 - port query bugfix  - fix setting cache sizes for large caches
 - port query bugfix
 - fix setting cache sizes for large caches


git-svn-id: 0ad960d935c0e843da4705e9b0b585cac384bf0d@5209 16e81406-0b52-4fc8-9ac4-c3f00167659a

stevedh/readingdb,stevedh/readingdb,stevedh/readingdb,stevedh/readingdb