summaryrefslogtreecommitdiff
path: root/examples/c/ex_all.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-09-08 18:33:37 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-09-08 18:33:37 -0400
commit19a4da2b049010deff2d6423f31809c2787a5bd8 (patch)
tree28b8f645f23bc96229dc4f853882e447edd9fc06 /examples/c/ex_all.c
parent04204363208e7ff13d0483e44d212990ca26148d (diff)
downloadmongo-19a4da2b049010deff2d6423f31809c2787a5bd8.tar.gz
Statistics logging of sources only currently supports lsm: and file: URIs.
Diffstat (limited to 'examples/c/ex_all.c')
-rw-r--r--examples/c/ex_all.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/c/ex_all.c b/examples/c/ex_all.c
index 6ddd76bca46..ea5d26ce133 100644
--- a/examples/c/ex_all.c
+++ b/examples/c/ex_all.c
@@ -1055,8 +1055,8 @@ main(void)
/*! [Statistics logging with a table] */
ret = wiredtiger_open(home, NULL,
- "create,wait=5,"
- "statistics_log=(sources=(\"table:table1\",\"table:table2\"))",
+ "create, statistics_log=("
+ "sources=(\"lsm:table1\",\"lsm:table2\"), wait=5)",
&conn);
/*! [Statistics logging with a table] */
if (ret == 0)
@@ -1064,7 +1064,7 @@ main(void)
/*! [Statistics logging with all tables] */
ret = wiredtiger_open(home, NULL,
- "create,wait=5,statistics_log=(sources=(\"table:\"))",
+ "create, statistics_log=(sources=(\"lsm:\"), wait=5)",
&conn);
/*! [Statistics logging with all tables] */
if (ret == 0)