| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(#3085)
|
|
|
|
|
|
| |
Add the --enable-strict option that uses our current best guess at the right flags for strict compilation.
While adding the option, expand the set of flags we can compile cleanly with.
|
|
|
|
| |
Define the custom die function once per program.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
KNF
|
| |
|
| |
|
|
|
|
| |
support variadic arguments.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Add functionality to test/thread to vary the number of operations
on different tables. Hopfully it'll let us construct workloads where
tables are closed by sweep.
|
| |
|
|
|
|
| |
[-Werror=redundant-decls]
|
|
|
|
| |
declaration ofXXX)
|
|
|
|
|
| |
WiredTiger library, and convert all of the utilities and test programs
to use it.
|
|
|
|
|
|
| |
Break hardware.h up into gcc.h and lint.h (hardware.h is still there,
but it's mostly empty).
Remove need for gcc.h from various benchmarking/test programs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- a few more uninitialized variables
- make variables local to a single file static
- replace use of WT_UNUSED_RET with error checking of the call (the
macro was using a GCC extension clang doesn't like)
With these changes, clang is mostly silent using the following options:
-Weverything
-Wno-cast-align
-Wno-conversion
-Wno-covered-switch-default
-Wno-documentation-unknown-command
-Wno-format-nonliteral
-Wno-language-extension-token
-Wno-missing-noreturn
-Wno-packed
-Wno-padded
-Wno-switch-enum
-Wno-zero-length-array
Also, minor KNF whitespace cleanups.
|
|
|
|
|
|
|
|
| |
With this option, the command line combination "-FS -R 0 -W 10" will
trigger the checkpoint problem where closing a file fails because there
is an update for the file we can't write.
Reference #844, #957.
|
|
|
|
| |
make the test slow, particularly with valgrind.
|
|
|
|
| |
Move lang/java and lang/python into the public domain.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
dist/api_data.py
dist/flags.py
src/include/flags.h
src/include/txn.h
src/include/txn.i
test/thread/t.c
|
| |
| |
| |
| |
| | |
into their own include file "gcc.h", change the test programs to include
and use the definitions from that file.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
dist/stat_data.py
src/include/wiredtiger.in
src/support/stat.c
test/salvage/salvage.c
test/thread/t.c
|
| | |
|
|\ \
| |/ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
Specifically added to handle_error, handle_message and handle_progress.
This change allows applications to match events to session handles.
|
| |\ \ |
|
| | | | |
|
|\ \ \ \
| | |_|/
| |/| |
| | | |
| | | | |
Conflicts:
dist/s_define.list
|
| | |/
| |/|
| | |
| | | |
the wiredtiger_open call.
|
|/ / |
|
|/ |
|
| |
|
|
|
|
| |
cut-and-paste from it, that's fine with us.
|
| |
|
|
|
|
| |
pass WT_BTREE_SNAPSHOT_OP from checkpoint code.
|
| |
|
|
|
|
| |
the error handler to test for ENOENT.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the WT_SESSION's WT_EVENT_HANDLER reference to be a real
structure, and copy values into it instead of simply pointing to the
user-specified structure. The argument for using a reference is the
application can swap functions whenever it feels like it, the argument
against using a reference is that if the application allocates the
structure only long enough to call wiredtiger_open, we're going to drop
core. We don't document that the structure needs to persist, and if the
application wants to swap functions, it can do it inside the function
it gives us, so using a real structure doesn't lose any functionality.
Change the semantics of the event-handler error function (used
to return void, now returns int) and the progress function (used to
return int, now returns void). Change the semantics of the erorr and
informational handlers so that if the handler returns failure, we
fallback to the default behavior.
Document the event-handler parameters.
Change the code so that a missing handler calls the default
handler function: that means a NULL event-handler structure does the
right thing, and eliminates the need for __wt_event_handler_default
and some initialization code in a few places, and the need to make
the default error and informational message handlers look like the
application-specified versions.
Delete api/api_event.c, move the default informational and
error message handlers into support/err.c Delete the default progress
message handler entirely, it didn't do anything.
Delete include/progress.i (The only function the file had was
the default progress handler function, __wt_progress, which is only used
by verify and salvage, the compiler can inline it if it wants.) Moved
__wt_progress to support/err.c.
|
| |
|
| |
|
| |
|
| |
|