From 8d7a517cca4e80f360181ff836960361a5046b33 Mon Sep 17 00:00:00 2001 From: Michael Cahill Date: Wed, 22 Oct 2014 15:38:11 +1100 Subject: Only append primary key columns to the index key format once. --- src/schema/schema_plan.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/schema/schema_plan.c') 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); -- cgit v1.2.1