Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) From: tlyu@mit.edu Subject: SVN Commit X-RT-Original-Encoding: iso-8859-1 Content-Length: 756 Enhance btree debugging output somewhat to limit key printout to the key length if the key is not null-terminated. Add additional test case for the zero-index page split bug; test case can create a corrupted btree database with records unreachable by random access but reachable by sequential access. Requires recompiling with CPPFLAGS='-DDEBUG -DDEBUG_IDX0SPLIT' to correctly model mpool page reuse that would be present in production conditions. (CPPFLAGS=-DDEBUG would otherwise explicitly overwrite the contents of reused pages.) Commit By: tlyu Revision: 20222 Changed Files: _U trunk/ U trunk/src/plugins/kdb/db2/libdb2/btree/bt_debug.c U trunk/src/plugins/kdb/db2/libdb2/mpool/mpool.c U trunk/src/plugins/kdb/db2/libdb2/test/run.test