summaryrefslogtreecommitdiff
path: root/src/db/db_rename.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/db_rename.c')
-rw-r--r--src/db/db_rename.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/db/db_rename.c b/src/db/db_rename.c
index 2812b948..5b2bed42 100644
--- a/src/db/db_rename.c
+++ b/src/db/db_rename.c
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 2001, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
@@ -285,10 +285,11 @@ __db_rename_int(dbp, ip, txn, name, subdb, newname, flags)
* taken care of in the fop layer.
*/
if (IS_REAL_TXN(txn)) {
- if ((ret = __fop_dummy(dbp, txn, old, newname)) != 0)
+ if ((ret =
+ __fop_dummy(dbp, txn, old, newname, DB_APP_DATA)) != 0)
goto err;
} else {
- if ((ret = __fop_dbrename(dbp, old, newname)) != 0)
+ if ((ret = __fop_dbrename(dbp, old, newname, DB_APP_DATA)) != 0)
goto err;
}