This commit is contained in:
Gary Williams 1999-04-01 14:50:34 +00:00
parent 1c7ebc514f
commit e6b47355f9
3 changed files with 12 additions and 13 deletions

View File

@ -137,6 +137,7 @@ struct ldbminfo {
struct dbcache li_dbcache[MAXDBCACHE];
ldap_pvt_thread_mutex_t li_dbcache_mutex;
ldap_pvt_thread_cond_t li_dbcache_cv;
DB_ENV li_db_env;
};
#include "proto-back-ldbm.h"

View File

@ -60,7 +60,7 @@ LIB32=link.exe -lib
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MTd /W3 /GX /Z7 /Od /I "..\\" /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MTd /W3 /GX /Z7 /Od /I "..\\" /I "..\..\..\include" /I "..\..\..\libraries\regex" /I "..\..\..\..\db-2.7.3\build_win32" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /c
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo

View File

@ -14,6 +14,16 @@
#include "db.h"
#ifdef HAVE_BERKELEY_DB2
void
ldbm_db_errcall( const char *prefix, const char *message )
{
Debug( LDAP_DEBUG_ANY, "ldbm_db_errcall(): %s %s", prefix, message, 0 );
}
#endif /* HAVE_BERKELEY_DB2 */
void
ldbm_back_startup(
@ -83,15 +93,3 @@ ldbm_back_shutdown(
(void) db_appexit( &li->li_db_env );
#endif
}
#ifdef HAVE_BERKELEY_DB2
void
ldbm_db_errcall( const char *prefix, const char *message )
{
Debug( LDAP_DEBUG_ANY, "ldbm_db_errcall(): %s %s", prefix, message, 0 );
}
#endif /* HAVE_BERKELEY_DB2 */