Files
mongo/examples/c/ex_data_source.c
Keith Bostic 8c183b0772 WT-2617 Fix a bug in pluggable file system example (#2718)
Don't print "home" if it's NULL.

Make ex_async work like the rest of the example programs, creating and
using WT_HOME.

* We need two sizes, the size of the data in the buffer and the size of the
buffer itself, split the two apart, otherwise it's possible to read data
that's never been written.

Remove the assert the file size is never 0, that's a reasonable condition
if the file has never been written.

Don't bother realloc the buffer when truncating it to a smaller size.

* Add a full smoke test, create a table then write it, close and reopen
it, and read the values back.

* main() should return EXIT_SUCCESS or EXIT_FAILURE, not a return value
from the underlying WiredTiger library.
2016-05-05 16:14:34 +10:00

16 KiB