diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-10-22 15:38:11 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-10-22 15:38:11 +1100 |
commit | 8d7a517cca4e80f360181ff836960361a5046b33 (patch) | |
tree | c47cbbd02549a1a7d1b2ae006740e4a5e3943435 /src/schema/schema_plan.c | |
parent | 6c35edfe7161e9a923753dbd8dc565b0259362b4 (diff) | |
download | mongo-8d7a517cca4e80f360181ff836960361a5046b33.tar.gz |
Only append primary key columns to the index key format once.
Diffstat (limited to 'src/schema/schema_plan.c')
-rw-r--r-- | src/schema/schema_plan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/schema/schema_plan.c b/src/schema/schema_plan.c index 53ce5fca068..d9c8b39ed71 100644 --- a/src/schema/schema_plan.c +++ b/src/schema/schema_plan.c @@ -333,6 +333,7 @@ __wt_struct_reformat(WT_SESSION_IMPL *session, WT_TABLE *table, WT_RET( __wt_config_init(session, &config, extra_cols)); WT_RET(__wt_config_next(&config, &next_k, &next_v)); + extra_cols = NULL; } else if (format->size == 0) { WT_RET(__wt_buf_set(session, format, "", 1)); return (0); |