]> git.sur5r.net Git - openldap/commitdiff
fix id query
authorPierangelo Masarati <ando@openldap.org>
Wed, 16 Apr 2003 20:54:30 +0000 (20:54 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 16 Apr 2003 20:54:30 +0000 (20:54 +0000)
servers/slapd/back-sql/init.c

index 712ac7aef65658cdda027063dcc4fe8aeefa34e9..49b86f3a1e6cb3ed214cc118e93604d2cb0e1d19 100644 (file)
@@ -388,14 +388,11 @@ backsql_db_open(
                        backsql_strcat( &bb, backsql_id_query,
                                        "dn_ru=?", NULL );
                } else {
-#if 0
                        if ( BACKSQL_USE_REVERSE_DN( si ) ) {
-#endif 
                                backsql_strfcat( &bb, "sbl",
                                                backsql_id_query,
                                                &si->upper_func, 
                                                (ber_len_t)sizeof( "(dn)=?" ) - 1, "(dn)=?" );
-#if 0
                        } else {
                                backsql_strfcat( &bb, "sblbcb",
                                                backsql_id_query,
@@ -405,7 +402,6 @@ backsql_db_open(
                                                '?', 
                                                &si->upper_func_close );
                        }
-#endif
                }
        }
        si->id_query = bb.bb_val.bv_val;