+ switch(rc) {
+ case DB_NOTFOUND:
+ id = 0;
+ rc = 0;
+ /* FALLTHROUGH */
+ case 0:
+ break;
+
+ 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,
+ "=> bdb_last_id: get failed: %s (%d)\n",
+ db_strerror(rc), rc, 0 );
+#endif