summaryrefslogtreecommitdiff
path: root/src/dbreg/dbreg.src
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbreg/dbreg.src')
-rw-r--r--src/dbreg/dbreg.src27
1 files changed, 25 insertions, 2 deletions
diff --git a/src/dbreg/dbreg.src b/src/dbreg/dbreg.src
index c7740d63..3187bc4f 100644
--- a/src/dbreg/dbreg.src
+++ b/src/dbreg/dbreg.src
@@ -1,7 +1,7 @@
/*-
* See the file LICENSE for redistribution information.
*
- * Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
@@ -26,7 +26,7 @@ INCLUDE
* ftype: database type
* id: transaction id of the subtransaction that created the fs object
*/
-BEGIN register 42 2
+BEGIN_COMPAT register 42 2
DBOP opcode u_int32_t lu
DBT name DBT s
DBT uid DBT s
@@ -35,3 +35,26 @@ ARG ftype DBTYPE lx
ARG meta_pgno db_pgno_t lu
ARG id u_int32_t lx
END
+
+/*
+ * Used for registering name/id translations at open or close.
+ * opcode: register or unregister
+ * name: file name
+ * fileid: unique file id
+ * ftype: file type
+ * ftype: database type
+ * id: transaction id of the subtransaction that created the fs object
+ * blob_fid_lo/hi: The blob file directory id
+ */
+BEGIN register 61 2
+DBOP opcode u_int32_t lu
+DBT name DBT s
+DBT uid DBT s
+ARG fileid int32_t ld
+ARG ftype DBTYPE lx
+ARG meta_pgno db_pgno_t lu
+ARG id u_int32_t lx
+ARG blob_fid_lo u_int32_t lu
+ARG blob_fid_hi u_int32_t lu
+END
+