diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-12-10 16:24:40 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-12-10 16:24:40 +1100 |
commit | 0dab9f5623bdfa3a0ef5fc67323e964bc101f898 (patch) | |
tree | 19224faa3d81bac20d12a4bbd2dfd520e37a1fc9 /src/schema/schema_truncate.c | |
parent | d6393ea59bd955acad02cff2d7542c35870e64f0 (diff) | |
download | mongo-0dab9f5623bdfa3a0ef5fc67323e964bc101f898.tar.gz |
Fix a schema bug when adding a column group to a "complete" table. Previously, column groups added after all columns appeared in a column group would not be populated correctly.
refs #409
Diffstat (limited to 'src/schema/schema_truncate.c')
-rw-r--r-- | src/schema/schema_truncate.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/schema/schema_truncate.c b/src/schema/schema_truncate.c index 69b781c69d4..00bcfc71d10 100644 --- a/src/schema/schema_truncate.c +++ b/src/schema/schema_truncate.c @@ -75,11 +75,6 @@ __truncate_table(WT_SESSION_IMPL *session, const char *name) WT_ERR(__truncate_file(session, namebuf->data)); } - table->idx_complete = 0; - - /* Reopen the column groups. */ - ret = __wt_schema_open_colgroups(session, table); - err: __wt_scr_free(&namebuf); return (ret); } |