Don Anderson
dce3b942e4
WT-2360 Introduced a more complex join example to show nesting and disjunction.
2016-04-14 15:58:09 -04:00
David Hows
7116ddeb62
WT-2473 - Add inttypes.h to ex_config_parse
2016-03-14 10:49:43 +11:00
Keith Bostic
c2e2203c8b
Revert "WT-2473: MSVC doesn't support PRId64"
...
This reverts commit 0b2766c1db .
2016-03-11 19:04:42 -05:00
Keith Bostic
0b2766c1db
WT-2473: MSVC doesn't support PRId64
2016-03-11 18:10:23 -05:00
Keith Bostic
cc0d34b093
WT-2471: review WiredTiger "int" printf formats
2016-03-11 16:02:41 -05:00
Don Anderson
33991acfa1
WT-2431 The schema example now needs statistics enabled for the connection.
2016-02-29 08:19:40 -05:00
Don Anderson
5083d97a09
WT-2431 Add examples for join cursor statistics.
2016-02-28 17:26:53 -05:00
Keith Bostic
628d64f8ef
WT-2107: Add example code including an event handler
...
Fix the Java call to strerror.
2016-02-23 11:58:39 -05:00
Keith Bostic
cfcfc53202
WT-2107: Add example code including an event handler
...
My last commit introduced a bug, letting the event handler go out of
scope before a call that used it. Split out the set of the event handler
from the main function, that way we don't have to play games to get the
CUSTOM_EVENT_HANDLER declaration next to the code that initializes it.
Minor #include cleanup while in the area.
2016-02-23 10:35:42 -05:00
Keith Bostic
b6a1357f1a
WT-2107: Add example code including an event handler
...
Add WIREDTIGER_HOME handling so "make check" works, remove unused variable.
2016-02-23 09:52:18 -05:00
Keith Bostic
f90fb74abf
WT-2107: Add example code including an event handler
...
Review, minor wording and style cleanup.
2016-02-23 09:37:59 -05:00
Alex Gorrod
e5a5600715
WT-2107 Shuffle changes for event handler example.
2016-02-23 16:25:00 +11:00
Keith Bostic
4c1ae0fe24
WT-2107: Add example code including an event handler
...
whitespace
2016-02-21 14:48:25 -05:00
Keith Bostic
9263c44575
WT-2107: Add example code including an event handler #2512
...
Another compiler fix, add prototypes.
2016-02-21 14:11:47 -05:00
Keith Bostic
005c17826d
WT-2107: Add example code including an event handler
...
Fix the error handler function signature.
2016-02-21 13:46:38 -05:00
Keith Bostic
9e2430e56c
WT-2107: Add example code including an event handler
...
Clean up thread-safe vs. global "display error strings" documentation:
the global code snippet was wrong, there wasn't a java thread-safe
snippet, add a mention of the thread-safe API to the error-handling
page, quit trying to enumerate the underlying strerror(3) standards.
2016-02-21 13:23:51 -05:00
Keith Bostic
c4b6096c81
WT-2107: Add example code including an event handler
...
Add an event handler example to the error handling docs.
2016-02-21 12:41:04 -05:00
Michael Cahill
1daaf24ee3
Merge pull request #2461 from wiredtiger/WT-2215-union
...
WT-2215 Use 32-bit LSN file and offsets. Set LSNs as a 64-bit value.
2016-02-01 16:07:55 +11:00
Keith Bostic
12be963758
WT-2352: Allow build and test without requiring lz4
...
Remove support for the bzip2 compression engine.
2016-01-28 12:44:09 -05:00
Susan LoVerso
7880038b80
WT-2215 Use 32-bit LSN file and offsets. Set LSNs as a 64-bit value.
2016-01-25 12:07:27 -05:00
Keith Bostic
829bcd39cc
WT-2287: WT_SESSION.rebalance support.
...
Use a more appropriate name for the rebalance method uri.
2016-01-19 09:57:33 -05:00
Keith Bostic
a6f27c99a5
Merge branch 'develop' into wt-2287-rebalance
2016-01-01 16:51:17 -05:00
Keith Bostic
344a714c3d
Upgrade copyright notices from 2015 to 2016.
2016-01-01 16:37:39 -05:00
Keith Bostic
da9b67d933
Merge branch 'develop' into wt-2287-rebalance
2016-01-01 16:14:23 -05:00
Keith Bostic
1df86bfb7a
WT-2287: Add support for a WT_SESSION.rebalance method that rebuilds the
...
underlying btree, correcting any imbalance.
2015-12-17 12:29:08 -05:00
Don Anderson
7db55c3122
Fix an example's comment.
2015-12-11 09:43:29 -05:00
Don Anderson
ee33b0875a
Merge branch 'develop' into wt-1315-join-cursor
2015-11-17 10:35:01 -05:00
Keith Bostic
389d3bca4c
WT-2217: change WT_CURSOR.insert to clear "set" key/value on succesful
...
return.
2015-11-15 12:28:54 -05:00
Don Anderson
d46c3bf7b1
WT-1315. Added C and java examples for join cursors.
2015-11-03 13:36:26 -05:00
Susan LoVerso
7dbe9256f6
WT-2134 Force out pending log slot buffer to advance log->alloc_lsn for
...
log_flush. Fix example to use the correct config signature.
2015-09-24 15:20:48 -04:00
Michael Cahill
959376c602
Merge pull request #2189 from wiredtiger/index-create-lsm3
...
WT-147: Dynamic Index creation. Use bulk=unordered
2015-09-22 15:59:09 +10:00
Alex Gorrod
402d127174
Lint in example code.
2015-09-22 09:47:11 +10:00
Keith Bostic
e005640b92
WT_SESSION.log_flush returns a value.
2015-09-17 09:50:48 -04:00
Susan LoVerso
366fc17e0b
WT-2104 New log_flush API to control the flushing or syncing of the log.
2015-09-15 13:35:11 -04:00
Don Anderson
0225351bb6
Merge branch 'develop' into index-create-lsm3
2015-09-13 21:57:42 -04:00
Keith Bostic
876159d97d
Merge branch 'develop' into wt-1967-evict-any
2015-08-27 07:32:47 -04:00
Keith Bostic
be33c5ad26
Try and generalize the test a little so we don't have to mention the
...
lookaside file (the lookaside file consumes a file ID, but doesn't
output log records, so we only have to skip file ID 0, the metadata
file).
2015-08-26 12:24:23 -04:00
Susan LoVerso
dd9f40ddc1
Merge branch 'develop' into log-slot-revamp
...
Conflicts:
dist/s_define.list
src/include/log.h
src/include/stat.h
src/include/wiredtiger.in
src/log/log_slot.c
src/support/stat.c
2015-08-24 16:25:09 -04:00
Keith Bostic
0900894094
Merge branch 'develop' into wt-1967-evict-any
2015-08-20 10:19:13 -04:00
Michael Cahill
7f70a59df5
Merge branch 'master' into develop
2015-08-20 11:10:24 +10:00
Julien Balestra
d832c812c4
Update ex_access.py
2015-08-19 21:25:09 +02:00
Julien Balestra
b4f44b1425
Remove useless space
2015-08-19 21:07:37 +02:00
Julien Balestra
c6f7e7808c
String format is better than strcat
2015-08-19 21:07:24 +02:00
Julien Balestra
8abecd0978
Remove redundant parenthesis
2015-08-19 20:59:52 +02:00
Julien Balestra
255abcf9e6
Whitespace before : (PEP8)
2015-08-19 20:58:24 +02:00
Julien Balestra
807637e6e1
Extra blank lines may be used to separate groups of related functions (PEP8)
2015-08-19 20:57:45 +02:00
Julien Balestra
60e860b30c
String format is better than strcat
2015-08-19 20:49:49 +02:00
Susan LoVerso
8c58af77b4
Merge branch 'develop' into log-slot-revamp
...
Conflicts:
src/conn/conn_log.c
2015-08-10 16:23:40 -04:00
Keith Bostic
cff32e6f32
Now we're creating a lookaside file early on in wiredtiger_open, file
...
IDs 0 and 1 are taken.
2015-08-10 16:18:22 -04:00
Keith Bostic
a26f54e899
Some of the session ops require logging (for example, transaction_sync),
...
turn on logging in the database.
2015-08-10 14:56:45 -04:00