]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/error.c
Initial round of changes for 2.3 beta
[openldap] / servers / slapd / back-bdb / error.c
index ea1db3215eaa399be728203b160416ee609ad86f..9a9885e3af57a94fd85c91c769a37ccf31f48f21 100644 (file)
@@ -35,6 +35,17 @@ void bdb_errcall( const DB_ENV *env, const char *pfx, const char * msg )
        Debug( LDAP_DEBUG_ANY, "bdb(%s): %s\n", pfx, msg, 0 );
 }
 
+#if DB_VERSION_FULL >= 0x04030000
+void bdb_msgcall( const DB_ENV *env, const char *msg )
+{
+#ifdef HAVE_EBCDIC
+       if ( msg[0] > 0x7f )
+               __etoa( msg );
+#endif
+       Debug( LDAP_DEBUG_TRACE, "bdb: %s\n", msg, 0, 0 );
+}
+#endif
+
 #ifdef HAVE_EBCDIC
 
 #undef db_strerror