diff options
Diffstat (limited to 'src/cursor/cur_table.c')
-rw-r--r-- | src/cursor/cur_table.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cursor/cur_table.c b/src/cursor/cur_table.c index 502d93639a8..466a929596e 100644 --- a/src/cursor/cur_table.c +++ b/src/cursor/cur_table.c @@ -763,16 +763,13 @@ err: API_END_RET(session, ret); static int __curtable_complete(WT_SESSION_IMPL *session, WT_TABLE *table) { - WT_DECL_RET; bool complete; if (table->cg_complete) return (0); /* If the table is incomplete, wait on the table lock and recheck. */ - complete = false; - WT_WITH_TABLE_LOCK(session, ret, complete = table->cg_complete); - WT_RET(ret); + WT_WITH_TABLE_LOCK(session, complete = table->cg_complete); if (!complete) WT_RET_MSG(session, EINVAL, "'%s' not available until all column groups are created", |