comparison src/database.c @ 211:78478c60bfcd r20-4b4

Import from CVS: tag r20-4b4
author cvs
date Mon, 13 Aug 2007 10:05:51 +0200
parents 41ff10fd062f
children c5d627a313b1
comparison
equal deleted inserted replaced
210:49f55ca3ba57 211:78478c60bfcd
647 #ifdef HAVE_BERKELEY_DB 647 #ifdef HAVE_BERKELEY_DB
648 if (NILP (type) || EQ (type, Qberkeley_db)) 648 if (NILP (type) || EQ (type, Qberkeley_db))
649 { 649 {
650 DBTYPE real_subtype; 650 DBTYPE real_subtype;
651 DB *db; 651 DB *db;
652 #if DB_VERSION_MAJOR != 1
652 int status; 653 int status;
653 654 #endif
655
654 if (EQ (subtype, Qhash) || NILP (subtype)) 656 if (EQ (subtype, Qhash) || NILP (subtype))
655 real_subtype = DB_HASH; 657 real_subtype = DB_HASH;
656 else if (EQ (subtype, Qbtree)) 658 else if (EQ (subtype, Qbtree))
657 real_subtype = DB_BTREE; 659 real_subtype = DB_BTREE;
658 else if (EQ (subtype, Qrecno)) 660 else if (EQ (subtype, Qrecno))