diff options
author | Keith Bostic <keith@wiredtiger.com> | 2013-07-16 10:11:03 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2013-07-16 10:11:03 -0400 |
commit | 2dc50e3fee5105fd799a42200af549415a716883 (patch) | |
tree | 0b0c638bbdafd855075e504996407583d0fcfe23 /examples | |
parent | c7982d9c0df3a6a2010a6dca6dc6e77af79f003d (diff) | |
parent | 537e71adfac4f7bba8609373f316cf49c83f2ff6 (diff) | |
download | mongo-2dc50e3fee5105fd799a42200af549415a716883.tar.gz |
Merge branch 'develop' into memrata
Diffstat (limited to 'examples')
-rw-r--r-- | examples/c/ex_all.c | 4 | ||||
-rw-r--r-- | examples/c/ex_cursor.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/c/ex_all.c b/examples/c/ex_all.c index 7e5e1568eff..5c1797ce278 100644 --- a/examples/c/ex_all.c +++ b/examples/c/ex_all.c @@ -902,8 +902,8 @@ main(void) #endif /*! [Configure file_extend] */ - ret = wiredtiger_open(home, NULL, - "create,file_extend=(type=[data],size=16MB)", &conn); + ret = wiredtiger_open( + home, NULL, "create,file_extend=(data=16MB)", &conn); /*! [Configure file_extend] */ if (ret == 0) (void)conn->close(conn, NULL); diff --git a/examples/c/ex_cursor.c b/examples/c/ex_cursor.c index 6a7029fe451..029b9c674a1 100644 --- a/examples/c/ex_cursor.c +++ b/examples/c/ex_cursor.c @@ -200,6 +200,7 @@ int main(void) ret = cursor_forward_scan(cursor); ret = cursor_reset(cursor); ret = cursor_reverse_scan(cursor); + ret = cursor_search_near(cursor); ret = cursor_update(cursor); ret = cursor_remove(cursor); ret = cursor->close(cursor); |