Files
mongo/test/format
Keith Bostic 78bd4f8995 Implement the wiredtiger_open "create" and "exclusive" configuration
flags, and hook them up to the WT_CONNECTION->is_new method.

Add a global structure (WT_PROCESS), which includes a mutex and
maintains a linked list of the WT_CONNECTION structures in the process.

Change the underlying "file exists" function to correctly return errors,
rather than including errors in "file doesn't exist" returns.

The only place we're using the string output separator is in the debug
code, remove it from the "global" structure, and make it static in the
Btree debug file.

Move the close of the logging file handle into WT_CONNECTION destroy,
instead of doing in connection close.   This isn't right, but right now
we don't have a good dividing line between what code in
connection-open/connection-close, connection-init/connection-destroy,
and then there's a bunch of initialization in wiredtiger_open too.

Delete the home/mode arguments from __wt_connection_open, they were
never used and I think they are never going to be used, at this point.

Minor re-working of the mutex functions so they handle NULL WT_SESSION
handles correctly.
2011-10-01 10:11:01 +00:00
..
2011-09-02 11:21:22 +00:00

The test program format randomly generates WiredTiger files with
different size objects and then does single-threaded operations
on those files.  The goal is to test the WiredTiger file formats.

format should be compiled with a version of Berkeley DB (which it
uses to verify format's results).  Create a link "db" in the
build_posix directory that links to the top-level of a Berkeley DB
distribution directory which contains a configured and compiled
build_unix subdirectory.