diff options
author | Alex Gorrod <alexander.gorrod@mongodb.com> | 2015-11-19 10:36:43 +1100 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2015-11-19 10:36:43 +1100 |
commit | a72ddb75ae212726c3891cb7ec0e72a5f3b225f0 (patch) | |
tree | 70017d1ac416cf54e3fca6af676856df7f09f07b /src/cursor/cur_table.c | |
parent | fb9cebe6351ce3b4819da0e7667a1e0af2d7b89d (diff) | |
parent | a5d6d8e1b6c687566c8b368fc5048ade7eecfea6 (diff) | |
download | mongo-a72ddb75ae212726c3891cb7ec0e72a5f3b225f0.tar.gz |
Merge pull request #2307 from wiredtiger/trunc-stats
WT-2218 Add truncate stats
Diffstat (limited to 'src/cursor/cur_table.c')
-rw-r--r-- | src/cursor/cur_table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cursor/cur_table.c b/src/cursor/cur_table.c index c5a00649334..b78e12c2648 100644 --- a/src/cursor/cur_table.c +++ b/src/cursor/cur_table.c @@ -659,6 +659,7 @@ __wt_table_range_truncate(WT_CURSOR_TABLE *start, WT_CURSOR_TABLE *stop) /* Open any indices. */ WT_RET(__curtable_open_indices(ctable)); WT_RET(__wt_scr_alloc(session, 128, &key)); + WT_STAT_FAST_DATA_INCR(session, cursor_truncate); /* * Step through the cursor range, removing the index entries. |