]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-sql/util.c
slapi_ch_bvdup() should be implemented in terms of ber_dupbv()
[openldap] / servers / slapd / back-sql / util.c
index 316f2bc5ee68148c77216bf584a1dafcdca6ba4f..cc8c6a09b60fbb811ff18c11b3ef249ef81e0a9b 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1999-2005 The OpenLDAP Foundation.
+ * Copyright 1999-2006 The OpenLDAP Foundation.
  * Portions Copyright 1999 Dmitry Kovalev.
  * Portions Copyright 2002 Pierangelo Masarati.
  * All rights reserved.
@@ -544,7 +544,9 @@ backsql_entryUUID_decode(
 #endif /* ! BACKSQL_ARBITRARY_KEY */
        )
 {
+#if 0
        fprintf( stderr, "==> backsql_entryUUID_decode()\n" );
+#endif
 
        *oc_id = ( entryUUID->bv_val[0] << 030 /* 24 */ )
                + ( entryUUID->bv_val[1] << 020 /* 16 */ )
@@ -560,8 +562,10 @@ backsql_entryUUID_decode(
                + entryUUID->bv_val[7];
 #endif /* ! BACKSQL_ARBITRARY_KEY */
 
+#if 0
        fprintf( stderr, "<== backsql_entryUUID_decode(): oc=%lu id=%lu\n",
                        *oc_id, *keyval );
+#endif
 
        return LDAP_SUCCESS;
 }