diff options
Diffstat (limited to 'src/schema/schema_rename.c')
-rw-r--r-- | src/schema/schema_rename.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/schema/schema_rename.c b/src/schema/schema_rename.c index f75b68037af..8a347f2c39f 100644 --- a/src/schema/schema_rename.c +++ b/src/schema/schema_rename.c @@ -87,9 +87,9 @@ __rename_tree(WT_SESSION_IMPL *session, WT_DECL_ITEM(nv); WT_DECL_ITEM(os); WT_DECL_RET; + bool is_colgroup; const char *newname, *olduri, *suffix; char *value; - int is_colgroup; olduri = table->name; value = NULL; @@ -211,7 +211,7 @@ __rename_table(WT_SESSION_IMPL *session, (void)WT_PREFIX_SKIP(oldname, "table:"); WT_RET(__wt_schema_get_table( - session, oldname, strlen(oldname), 0, &table)); + session, oldname, strlen(oldname), false, &table)); /* Rename the column groups. */ for (i = 0; i < WT_COLGROUPS(table); i++) @@ -277,7 +277,7 @@ __wt_schema_rename(WT_SESSION_IMPL *session, /* Bump the schema generation so that stale data is ignored. */ ++S2C(session)->schema_gen; - WT_TRET(__wt_meta_track_off(session, 1, ret != 0)); + WT_TRET(__wt_meta_track_off(session, true, ret != 0)); /* If we didn't find a metadata entry, map that error to ENOENT. */ return (ret == WT_NOTFOUND ? ENOENT : ret); |