Commit Graph

4 Commits

Author SHA1 Message Date
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