Commit Graph

9 Commits

Author SHA1 Message Date
Keith Bostic
9be66e1d26 Rework WT_UNUSED/WT_UNUSED_RET slightly: move GNUC macros out of misc.h
into their own include file "gcc.h", change the test programs to include
and use the definitions from that file.
2013-11-06 09:18:50 -05:00
Michael Cahill
899d510f98 warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' 2012-10-03 18:18:43 +10:00
Michael Cahill
08bd42abc2 Add test/fops and test/thread to "make check". 2012-06-01 22:52:34 +10:00
Keith Bostic
ca408b3b2d Split test/thread into two parts, test/thread and test/fops. 2012-05-28 10:59:45 +00:00
Keith Bostic
f94b7ea1e3 Add support for file operations to the test/thread program. 2012-05-03 21:57:43 +00:00
Keith Bostic
48e4a7ffed Make the local clean targets all the same: remove the WiredTiger run
files, anything named with leading underscores, and core files.
2012-04-23 13:43:21 +00:00
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
Michael Cahill
b12f6c5458 Fix up various build issues:
* make test programs link statically by default
* depende on libwiredtiger.la so tests are relinked when the library changes
* don't bother with helper targets for test/insert
2011-09-06 07:09:39 +10:00
Michael Cahill
6ba3445126 Rearrange directories to keep Makefile.am with the sources.
--HG--
rename : build_posix/AUTHORS => AUTHORS
rename : build_posix/bench/tcbench/Makefile.am => bench/tcbench/Makefile.am
rename : build_posix/configure.ac => configure.ac
rename : build_posix/ext/compressors/bzip2_compress/Makefile.am => ext/compressors/bzip2_compress/Makefile.am
rename : build_posix/ext/compressors/nop_compress/Makefile.am => ext/compressors/nop_compress/Makefile.am
rename : build_posix/test/format/Makefile.am => test/format/Makefile.am
rename : build_posix/test/insert/Makefile.am => test/insert/Makefile.am
rename : build_posix/test/salvage/Makefile.am => test/salvage/Makefile.am
rename : build_posix/test/thread/Makefile.am => test/thread/Makefile.am
2011-09-01 08:25:36 +10:00