summaryrefslogtreecommitdiff
path: root/bdb/dist
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2002-11-11 20:03:40 +0100
committerunknown <serg@serg.mysql.com>2002-11-11 20:03:40 +0100
commitca3dbc7104220e35fc084432f2d4481b19a9bf8a (patch)
treeb0ffb387eb10bbb37f98d301bf00b1164cec1699 /bdb/dist
parent0cfa328eac52024dab7336a476da7d8fa16f32ff (diff)
downloadmariadb-git-ca3dbc7104220e35fc084432f2d4481b19a9bf8a.tar.gz
remove all the auto-generated files but NOT vxworks/* ones.
The reason is that vxworks files are most often, one file per directory, and when such a file is removed directory is gone as well. Though files are auto-generated, directories aren't. BitKeeper/deleted/.del-btree_auto.h~94f1be726dad9aff: Delete: bdb/dbinc_auto/btree_auto.h BitKeeper/deleted/.del-crdel_auto.h~e6710e96650dd20f: Delete: bdb/dbinc_auto/crdel_auto.h BitKeeper/deleted/.del-db_auto.h~f994b15bd824ae9b: Delete: bdb/dbinc_auto/db_auto.h BitKeeper/deleted/.del-db_config.h~60184629d0966584: Delete: bdb/build_win32/db_config.h BitKeeper/deleted/.del-db_cxx.h~5ae7eca120f9e810: Delete: bdb/build_win32/db_cxx.h BitKeeper/deleted/.del-db_perf.dsp~5984ea76dd378285: Delete: bdb/build_win32/db_perf.dsp BitKeeper/deleted/.del-db_test.dsp~eb1dbc135441c71c: Delete: bdb/build_win32/db_test.dsp BitKeeper/deleted/.del-dbreg_auto.c~c2549ec52200654b: Delete: bdb/dbreg/dbreg_auto.c BitKeeper/deleted/.del-dbreg_auto.h~c074dd54cca3b504: Delete: bdb/dbinc_auto/dbreg_auto.h BitKeeper/deleted/.del-fileops_auto.h~10df93de4b325f28: Delete: bdb/dbinc_auto/fileops_auto.h BitKeeper/deleted/.del-hash_auto.h~a29a3d2157d8c2ed: Delete: bdb/dbinc_auto/hash_auto.h BitKeeper/deleted/.del-libdb.def~301ea9487fa24bb1: Delete: bdb/build_win32/libdb.def BitKeeper/deleted/.del-qam_auto.h~727bb6f1bc903af6: Delete: bdb/dbinc_auto/qam_auto.h BitKeeper/deleted/.del-rec_dbreg~e359d26bb94bb1c3: Delete: bdb/dist/template/rec_dbreg BitKeeper/deleted/.del-rec_fileops~ef167bd1b983a01: Delete: bdb/dist/template/rec_fileops BitKeeper/deleted/.del-txn_auto.h~5c0ec531297454cf: Delete: bdb/dbinc_auto/txn_auto.h BitKeeper/deleted/.del-DbBtreeStat.java~ae44f148e56d691e: Delete: bdb/java/src/com/sleepycat/db/DbBtreeStat.java BitKeeper/deleted/.del-DbHashStat.java~712355915769120f: Delete: bdb/java/src/com/sleepycat/db/DbHashStat.java BitKeeper/deleted/.del-DbLockStat.java~78219b0a1bd2f053: Delete: bdb/java/src/com/sleepycat/db/DbLockStat.java BitKeeper/deleted/.del-DbLogStat.java~b9922e5d7f3a04aa: Delete: bdb/java/src/com/sleepycat/db/DbLogStat.java BitKeeper/deleted/.del-DbMpoolFStat.java~1e69777aa623d5b4: Delete: bdb/java/src/com/sleepycat/db/DbMpoolFStat.java BitKeeper/deleted/.del-DbQueueStat.java~e1632bb696810690: Delete: bdb/java/src/com/sleepycat/db/DbQueueStat.java BitKeeper/deleted/.del-DbRepStat.java~5dc6f9d61f4ad890: Delete: bdb/java/src/com/sleepycat/db/DbRepStat.java BitKeeper/deleted/.del-DbTxnStat.java~d4408e0452a8ef16: Delete: bdb/java/src/com/sleepycat/db/DbTxnStat.java BitKeeper/deleted/.del-fileops_auto.c~f1dd08f372e83d35: Delete: bdb/fileops/fileops_auto.c BitKeeper/deleted/.del-java_stat_auto.c~2199d8ff9d208c23: Delete: bdb/libdb_java/java_stat_auto.c BitKeeper/deleted/.del-java_stat_auto.h~c2e9f743368f29fb: Delete: bdb/libdb_java/java_stat_auto.h BitKeeper/etc/ignore: Added bdb/build_win32/db_config.h bdb/build_win32/db_cxx.h bdb/build_win32/db_perf.dsp bdb/build_win32/db_test.dsp bdb/build_win32/libdb.def bdb/dbinc_auto/btree_auto.h bdb/dbinc_auto/btree_ext.h bdb/dbinc_auto/clib_ext.h bdb/dbinc_auto/common_ext.h bdb/dbinc_auto/crdel_auto.h bdb/dbinc_auto/crypto_ext.h bdb/dbinc_auto/db_auto.h bdb/dbinc_auto/db_ext.h bdb/dbinc_auto/db_server.h bdb/dbinc_auto/dbreg_auto.h bdb/dbinc_auto/dbreg_ext.h bdb/dbinc_auto/env_ext.h bdb/dbinc_auto/ext_185_def.in bdb/dbinc_auto/ext_185_prot.in bdb/dbinc_auto/ext_def.in bdb/dbinc_auto/ext_prot.in bdb/dbinc_auto/fileops_auto.h bdb/dbinc_auto/fileops_ext.h bdb/dbinc_auto/hash_auto.h bdb/dbinc_auto/hash_ext.h bdb/dbinc_auto/hmac_ext.h bdb/dbinc_auto/int_def.in bdb/dbinc_auto/lock_ext.h bdb/dbinc_auto/log_ext.h bdb/dbinc_auto/mp_ext.h bdb/dbinc_auto/mutex_ext.h bdb/dbinc_auto/os_ext.h bdb/dbinc_auto/qam_auto.h bdb/dbinc_auto/qam_ext.h bdb/dbinc_auto/rep_ext.h bdb/dbinc_auto/rpc_client_ext.h bdb/dbinc_auto/rpc_defs.in bdb/dbinc_auto/rpc
Diffstat (limited to 'bdb/dist')
-rw-r--r--bdb/dist/template/rec_dbreg75
-rw-r--r--bdb/dist/template/rec_fileops323
2 files changed, 0 insertions, 398 deletions
diff --git a/bdb/dist/template/rec_dbreg b/bdb/dist/template/rec_dbreg
deleted file mode 100644
index bbdf19d5ffc..00000000000
--- a/bdb/dist/template/rec_dbreg
+++ /dev/null
@@ -1,75 +0,0 @@
-#include "db_config.h"
-
-#ifndef NO_SYSTEM_INCLUDES
-#include <sys/types.h>
-
-#include <string.h>
-#endif
-
-#include "db_int.h"
-#include "dbinc/db_page.h"
-#include "dbinc/__dbreg.h"
-#include "dbinc/log.h"
-
-/*
- * __dbreg_register_recover --
- * Recovery function for register.
- *
- * PUBLIC: int __dbreg_register_recover
- * PUBLIC: __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
- */
-int
-__dbreg_register_recover(dbenv, dbtp, lsnp, op, info)
- DB_ENV *dbenv;
- DBT *dbtp;
- DB_LSN *lsnp;
- db_recops op;
- void *info;
-{
- __dbreg_register_args *argp;
- DB *file_dbp;
- DBC *dbc;
- DB_MPOOLFILE *mpf;
- PAGE *pagep;
- int cmp_n, cmp_p, modified, ret;
-
- REC_PRINT(__dbreg_register_print);
- REC_INTRO(__dbreg_register_read, 1);
-
- if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0)
- if (DB_REDO(op)) {
- if ((ret = mpf->get(mpf,
- &argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0)
- goto out;
- } else {
- *lsnp = argp->prev_lsn;
- ret = 0;
- goto out;
- }
-
- modified = 0;
- cmp_n = log_compare(lsnp, &LSN(pagep));
-
- /*
- * Use this when there is something like "pagelsn" in the argp
- * structure. Sometimes, you might need to compare meta-data
- * lsn's instead.
- *
- * cmp_p = log_compare(&LSN(pagep), argp->pagelsn);
- */
- if (cmp_p == 0 && DB_REDO(op)) {
- /* Need to redo update described. */
- modified = 1;
- } else if (cmp_n == 0 && !DB_REDO(op)) {
- /* Need to undo update described. */
- modified = 1;
- }
- if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
- goto out;
-
- *lsnp = argp->prev_lsn;
- ret = 0;
-
-out: REC_CLOSE;
-}
-
diff --git a/bdb/dist/template/rec_fileops b/bdb/dist/template/rec_fileops
deleted file mode 100644
index c1487835ea9..00000000000
--- a/bdb/dist/template/rec_fileops
+++ /dev/null
@@ -1,323 +0,0 @@
-#include "db_config.h"
-
-#ifndef NO_SYSTEM_INCLUDES
-#include <sys/types.h>
-
-#include <string.h>
-#endif
-
-#include "db_int.h"
-#include "dbinc/db_page.h"
-#include "dbinc/__fop.h"
-#include "dbinc/log.h"
-
-/*
- * __fop_create_recover --
- * Recovery function for create.
- *
- * PUBLIC: int __fop_create_recover
- * PUBLIC: __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
- */
-int
-__fop_create_recover(dbenv, dbtp, lsnp, op, info)
- DB_ENV *dbenv;
- DBT *dbtp;
- DB_LSN *lsnp;
- db_recops op;
- void *info;
-{
- __fop_create_args *argp;
- DB *file_dbp;
- DBC *dbc;
- DB_MPOOLFILE *mpf;
- PAGE *pagep;
- int cmp_n, cmp_p, modified, ret;
-
- REC_PRINT(__fop_create_print);
- REC_INTRO(__fop_create_read, 1);
-
- if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0)
- if (DB_REDO(op)) {
- if ((ret = mpf->get(mpf,
- &argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0)
- goto out;
- } else {
- *lsnp = argp->prev_lsn;
- ret = 0;
- goto out;
- }
-
- modified = 0;
- cmp_n = log_compare(lsnp, &LSN(pagep));
-
- /*
- * Use this when there is something like "pagelsn" in the argp
- * structure. Sometimes, you might need to compare meta-data
- * lsn's instead.
- *
- * cmp_p = log_compare(&LSN(pagep), argp->pagelsn);
- */
- if (cmp_p == 0 && DB_REDO(op)) {
- /* Need to redo update described. */
- modified = 1;
- } else if (cmp_n == 0 && !DB_REDO(op)) {
- /* Need to undo update described. */
- modified = 1;
- }
- if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
- goto out;
-
- *lsnp = argp->prev_lsn;
- ret = 0;
-
-out: REC_CLOSE;
-}
-
-/*
- * __fop_remove_recover --
- * Recovery function for remove.
- *
- * PUBLIC: int __fop_remove_recover
- * PUBLIC: __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
- */
-int
-__fop_remove_recover(dbenv, dbtp, lsnp, op, info)
- DB_ENV *dbenv;
- DBT *dbtp;
- DB_LSN *lsnp;
- db_recops op;
- void *info;
-{
- __fop_remove_args *argp;
- DB *file_dbp;
- DBC *dbc;
- DB_MPOOLFILE *mpf;
- PAGE *pagep;
- int cmp_n, cmp_p, modified, ret;
-
- REC_PRINT(__fop_remove_print);
- REC_INTRO(__fop_remove_read, 1);
-
- if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0)
- if (DB_REDO(op)) {
- if ((ret = mpf->get(mpf,
- &argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0)
- goto out;
- } else {
- *lsnp = argp->prev_lsn;
- ret = 0;
- goto out;
- }
-
- modified = 0;
- cmp_n = log_compare(lsnp, &LSN(pagep));
-
- /*
- * Use this when there is something like "pagelsn" in the argp
- * structure. Sometimes, you might need to compare meta-data
- * lsn's instead.
- *
- * cmp_p = log_compare(&LSN(pagep), argp->pagelsn);
- */
- if (cmp_p == 0 && DB_REDO(op)) {
- /* Need to redo update described. */
- modified = 1;
- } else if (cmp_n == 0 && !DB_REDO(op)) {
- /* Need to undo update described. */
- modified = 1;
- }
- if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
- goto out;
-
- *lsnp = argp->prev_lsn;
- ret = 0;
-
-out: REC_CLOSE;
-}
-
-/*
- * __fop_write_recover --
- * Recovery function for write.
- *
- * PUBLIC: int __fop_write_recover
- * PUBLIC: __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
- */
-int
-__fop_write_recover(dbenv, dbtp, lsnp, op, info)
- DB_ENV *dbenv;
- DBT *dbtp;
- DB_LSN *lsnp;
- db_recops op;
- void *info;
-{
- __fop_write_args *argp;
- DB *file_dbp;
- DBC *dbc;
- DB_MPOOLFILE *mpf;
- PAGE *pagep;
- int cmp_n, cmp_p, modified, ret;
-
- REC_PRINT(__fop_write_print);
- REC_INTRO(__fop_write_read, 1);
-
- if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0)
- if (DB_REDO(op)) {
- if ((ret = mpf->get(mpf,
- &argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0)
- goto out;
- } else {
- *lsnp = argp->prev_lsn;
- ret = 0;
- goto out;
- }
-
- modified = 0;
- cmp_n = log_compare(lsnp, &LSN(pagep));
-
- /*
- * Use this when there is something like "pagelsn" in the argp
- * structure. Sometimes, you might need to compare meta-data
- * lsn's instead.
- *
- * cmp_p = log_compare(&LSN(pagep), argp->pagelsn);
- */
- if (cmp_p == 0 && DB_REDO(op)) {
- /* Need to redo update described. */
- modified = 1;
- } else if (cmp_n == 0 && !DB_REDO(op)) {
- /* Need to undo update described. */
- modified = 1;
- }
- if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
- goto out;
-
- *lsnp = argp->prev_lsn;
- ret = 0;
-
-out: REC_CLOSE;
-}
-
-/*
- * __fop_rename_recover --
- * Recovery function for rename.
- *
- * PUBLIC: int __fop_rename_recover
- * PUBLIC: __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
- */
-int
-__fop_rename_recover(dbenv, dbtp, lsnp, op, info)
- DB_ENV *dbenv;
- DBT *dbtp;
- DB_LSN *lsnp;
- db_recops op;
- void *info;
-{
- __fop_rename_args *argp;
- DB *file_dbp;
- DBC *dbc;
- DB_MPOOLFILE *mpf;
- PAGE *pagep;
- int cmp_n, cmp_p, modified, ret;
-
- REC_PRINT(__fop_rename_print);
- REC_INTRO(__fop_rename_read, 1);
-
- if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0)
- if (DB_REDO(op)) {
- if ((ret = mpf->get(mpf,
- &argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0)
- goto out;
- } else {
- *lsnp = argp->prev_lsn;
- ret = 0;
- goto out;
- }
-
- modified = 0;
- cmp_n = log_compare(lsnp, &LSN(pagep));
-
- /*
- * Use this when there is something like "pagelsn" in the argp
- * structure. Sometimes, you might need to compare meta-data
- * lsn's instead.
- *
- * cmp_p = log_compare(&LSN(pagep), argp->pagelsn);
- */
- if (cmp_p == 0 && DB_REDO(op)) {
- /* Need to redo update described. */
- modified = 1;
- } else if (cmp_n == 0 && !DB_REDO(op)) {
- /* Need to undo update described. */
- modified = 1;
- }
- if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
- goto out;
-
- *lsnp = argp->prev_lsn;
- ret = 0;
-
-out: REC_CLOSE;
-}
-
-/*
- * __fop_file_remove_recover --
- * Recovery function for file_remove.
- *
- * PUBLIC: int __fop_file_remove_recover
- * PUBLIC: __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
- */
-int
-__fop_file_remove_recover(dbenv, dbtp, lsnp, op, info)
- DB_ENV *dbenv;
- DBT *dbtp;
- DB_LSN *lsnp;
- db_recops op;
- void *info;
-{
- __fop_file_remove_args *argp;
- DB *file_dbp;
- DBC *dbc;
- DB_MPOOLFILE *mpf;
- PAGE *pagep;
- int cmp_n, cmp_p, modified, ret;
-
- REC_PRINT(__fop_file_remove_print);
- REC_INTRO(__fop_file_remove_read, 1);
-
- if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0)
- if (DB_REDO(op)) {
- if ((ret = mpf->get(mpf,
- &argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0)
- goto out;
- } else {
- *lsnp = argp->prev_lsn;
- ret = 0;
- goto out;
- }
-
- modified = 0;
- cmp_n = log_compare(lsnp, &LSN(pagep));
-
- /*
- * Use this when there is something like "pagelsn" in the argp
- * structure. Sometimes, you might need to compare meta-data
- * lsn's instead.
- *
- * cmp_p = log_compare(&LSN(pagep), argp->pagelsn);
- */
- if (cmp_p == 0 && DB_REDO(op)) {
- /* Need to redo update described. */
- modified = 1;
- } else if (cmp_n == 0 && !DB_REDO(op)) {
- /* Need to undo update described. */
- modified = 1;
- }
- if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
- goto out;
-
- *lsnp = argp->prev_lsn;
- ret = 0;
-
-out: REC_CLOSE;
-}
-