summaryrefslogtreecommitdiff
path: root/src/schema
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2015-11-19 11:47:53 +1100
committerMichael Cahill <michael.cahill@mongodb.com>2015-11-19 11:47:53 +1100
commit4368d3975e0baa53508269f3fb2d712ecab7a584 (patch)
tree16c0f97519fce4eed13b48d979ec40c24cb29e67 /src/schema
parenta72ddb75ae212726c3891cb7ec0e72a5f3b225f0 (diff)
parent2bf052b61603eb0d6c7592c1bd3e0723495451be (diff)
downloadmongo-4368d3975e0baa53508269f3fb2d712ecab7a584.tar.gz
Merge pull request #2289 from wiredtiger/wt-1315-join-cursor
WT-1315 Cursor join implementation
Diffstat (limited to 'src/schema')
-rw-r--r--src/schema/schema_stat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/schema/schema_stat.c b/src/schema/schema_stat.c
index d73d66cd399..82c2e2a15dc 100644
--- a/src/schema/schema_stat.c
+++ b/src/schema/schema_stat.c
@@ -24,7 +24,7 @@ __wt_curstat_colgroup_init(WT_SESSION_IMPL *session,
WT_RET(__wt_scr_alloc(session, 0, &buf));
WT_ERR(__wt_buf_fmt(session, buf, "statistics:%s", colgroup->source));
- ret = __wt_curstat_init(session, buf->data, cfg, cst);
+ ret = __wt_curstat_init(session, buf->data, NULL, cfg, cst);
err: __wt_scr_free(session, &buf);
return (ret);
@@ -46,7 +46,7 @@ __wt_curstat_index_init(WT_SESSION_IMPL *session,
WT_RET(__wt_scr_alloc(session, 0, &buf));
WT_ERR(__wt_buf_fmt(session, buf, "statistics:%s", idx->source));
- ret = __wt_curstat_init(session, buf->data, cfg, cst);
+ ret = __wt_curstat_init(session, buf->data, NULL, cfg, cst);
err: __wt_scr_free(session, &buf);
return (ret);
@@ -159,7 +159,7 @@ __wt_curstat_table_init(WT_SESSION_IMPL *session,
WT_ERR(__wt_buf_fmt(
session, buf, "statistics:%s", table->cgroups[i]->name));
WT_ERR(__wt_curstat_open(
- session, buf->data, cfg, &stat_cursor));
+ session, buf->data, NULL, cfg, &stat_cursor));
new = (WT_DSRC_STATS *)WT_CURSOR_STATS(stat_cursor);
if (i == 0)
*stats = *new;
@@ -174,7 +174,7 @@ __wt_curstat_table_init(WT_SESSION_IMPL *session,
WT_ERR(__wt_buf_fmt(
session, buf, "statistics:%s", table->indices[i]->name));
WT_ERR(__wt_curstat_open(
- session, buf->data, cfg, &stat_cursor));
+ session, buf->data, NULL, cfg, &stat_cursor));
new = (WT_DSRC_STATS *)WT_CURSOR_STATS(stat_cursor);
__wt_stat_dsrc_aggregate_single(new, stats);
WT_ERR(stat_cursor->close(stat_cursor));