mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Added LDAP_LOG messages
This commit is contained in:
parent
437bf1ba70
commit
7b05699803
@ -57,9 +57,15 @@ int bdb_last_id( BackendDB *be, DB_TXN *tid )
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
#ifdef NEW_LOGGING
|
||||||
|
LDAP_LOG (( "nextid", LDAP_LEVEL_ERR,
|
||||||
|
"bdb_last_id: get failed: %s (%d)\n",
|
||||||
|
db_strerror(rc), rc ));
|
||||||
|
#else
|
||||||
Debug( LDAP_DEBUG_ANY,
|
Debug( LDAP_DEBUG_ANY,
|
||||||
"=> bdb_last_id: get failed: %s (%d)\n",
|
"=> bdb_last_id: get failed: %s (%d)\n",
|
||||||
db_strerror(rc), rc, 0 );
|
db_strerror(rc), rc, 0 );
|
||||||
|
#endif
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user