diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-02-17 17:25:57 +0000 |
---|---|---|
committer | <> | 2015-03-17 16:26:24 +0000 |
commit | 780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch) | |
tree | 598f8b9fa431b228d29897e798de4ac0c1d3d970 /src/fileops/fileops_autop.c | |
parent | 7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff) | |
download | berkeleydb-db-6.1.23.tar.gz |
Diffstat (limited to 'src/fileops/fileops_autop.c')
-rw-r--r-- | src/fileops/fileops_autop.c | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/src/fileops/fileops_autop.c b/src/fileops/fileops_autop.c index 6e271a17..784aa1d0 100644 --- a/src/fileops/fileops_autop.c +++ b/src/fileops/fileops_autop.c @@ -27,6 +27,23 @@ __fop_create_42_print(env, dbtp, lsnp, notused2, info) } /* + * PUBLIC: int __fop_create_60_print __P((ENV *, DBT *, DB_LSN *, + * PUBLIC: db_recops, void *)); + */ +int +__fop_create_60_print(env, dbtp, lsnp, notused2, info) + ENV *env; + DBT *dbtp; + DB_LSN *lsnp; + db_recops notused2; + void *info; +{ + COMPQUIET(notused2, DB_TXN_PRINT); + + return (__log_print_record(env, dbtp, lsnp, "__fop_create_60", __fop_create_60_desc, info)); +} + +/* * PUBLIC: int __fop_create_print __P((ENV *, DBT *, DB_LSN *, * PUBLIC: db_recops, void *)); */ @@ -44,6 +61,23 @@ __fop_create_print(env, dbtp, lsnp, notused2, info) } /* + * PUBLIC: int __fop_remove_60_print __P((ENV *, DBT *, DB_LSN *, + * PUBLIC: db_recops, void *)); + */ +int +__fop_remove_60_print(env, dbtp, lsnp, notused2, info) + ENV *env; + DBT *dbtp; + DB_LSN *lsnp; + db_recops notused2; + void *info; +{ + COMPQUIET(notused2, DB_TXN_PRINT); + + return (__log_print_record(env, dbtp, lsnp, "__fop_remove_60", __fop_remove_60_desc, info)); +} + +/* * PUBLIC: int __fop_remove_print __P((ENV *, DBT *, DB_LSN *, * PUBLIC: db_recops, void *)); */ @@ -78,6 +112,23 @@ __fop_write_42_print(env, dbtp, lsnp, notused2, info) } /* + * PUBLIC: int __fop_write_60_print __P((ENV *, DBT *, DB_LSN *, + * PUBLIC: db_recops, void *)); + */ +int +__fop_write_60_print(env, dbtp, lsnp, notused2, info) + ENV *env; + DBT *dbtp; + DB_LSN *lsnp; + db_recops notused2; + void *info; +{ + COMPQUIET(notused2, DB_TXN_PRINT); + + return (__log_print_record(env, dbtp, lsnp, "__fop_write_60", __fop_write_60_desc, info)); +} + +/* * PUBLIC: int __fop_write_print __P((ENV *, DBT *, DB_LSN *, * PUBLIC: db_recops, void *)); */ @@ -95,6 +146,40 @@ __fop_write_print(env, dbtp, lsnp, notused2, info) } /* + * PUBLIC: int __fop_write_file_60_print __P((ENV *, DBT *, DB_LSN *, + * PUBLIC: db_recops, void *)); + */ +int +__fop_write_file_60_print(env, dbtp, lsnp, notused2, info) + ENV *env; + DBT *dbtp; + DB_LSN *lsnp; + db_recops notused2; + void *info; +{ + COMPQUIET(notused2, DB_TXN_PRINT); + + return (__log_print_record(env, dbtp, lsnp, "__fop_write_file_60", __fop_write_file_60_desc, info)); +} + +/* + * PUBLIC: int __fop_write_file_print __P((ENV *, DBT *, DB_LSN *, + * PUBLIC: db_recops, void *)); + */ +int +__fop_write_file_print(env, dbtp, lsnp, notused2, info) + ENV *env; + DBT *dbtp; + DB_LSN *lsnp; + db_recops notused2; + void *info; +{ + COMPQUIET(notused2, DB_TXN_PRINT); + + return (__log_print_record(env, dbtp, lsnp, "__fop_write_file", __fop_write_file_desc, info)); +} + +/* * PUBLIC: int __fop_rename_42_print __P((ENV *, DBT *, DB_LSN *, * PUBLIC: db_recops, void *)); */ @@ -112,6 +197,23 @@ __fop_rename_42_print(env, dbtp, lsnp, notused2, info) } /* + * PUBLIC: int __fop_rename_60_print __P((ENV *, DBT *, DB_LSN *, + * PUBLIC: db_recops, void *)); + */ +int +__fop_rename_60_print(env, dbtp, lsnp, notused2, info) + ENV *env; + DBT *dbtp; + DB_LSN *lsnp; + db_recops notused2; + void *info; +{ + COMPQUIET(notused2, DB_TXN_PRINT); + + return (__log_print_record(env, dbtp, lsnp, "__fop_rename_60", __fop_rename_60_desc, info)); +} + +/* * PUBLIC: int __fop_rename_print __P((ENV *, DBT *, DB_LSN *, * PUBLIC: db_recops, void *)); */ @@ -129,6 +231,23 @@ __fop_rename_print(env, dbtp, lsnp, notused2, info) } /* + * PUBLIC: int __fop_file_remove_60_print __P((ENV *, DBT *, + * PUBLIC: DB_LSN *, db_recops, void *)); + */ +int +__fop_file_remove_60_print(env, dbtp, lsnp, notused2, info) + ENV *env; + DBT *dbtp; + DB_LSN *lsnp; + db_recops notused2; + void *info; +{ + COMPQUIET(notused2, DB_TXN_PRINT); + + return (__log_print_record(env, dbtp, lsnp, "__fop_file_remove_60", __fop_file_remove_60_desc, info)); +} + +/* * PUBLIC: int __fop_file_remove_print __P((ENV *, DBT *, DB_LSN *, * PUBLIC: db_recops, void *)); */ @@ -165,6 +284,9 @@ __fop_init_print(env, dtabp) __fop_write_print, DB___fop_write)) != 0) return (ret); if ((ret = __db_add_recovery_int(env, dtabp, + __fop_write_file_print, DB___fop_write_file)) != 0) + return (ret); + if ((ret = __db_add_recovery_int(env, dtabp, __fop_rename_print, DB___fop_rename)) != 0) return (ret); if ((ret = __db_add_recovery_int(env, dtabp, |