]> git.sur5r.net Git - openldap/commitdiff
read-tests work also for ibmdb2
authorPierangelo Masarati <ando@openldap.org>
Tue, 24 Aug 2004 15:14:42 +0000 (15:14 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 24 Aug 2004 15:14:42 +0000 (15:14 +0000)
tests/data/slapd-sql.conf

index 075960dfcedded76359e6e08d5e1acd89977c1b9..6c2d6136600f5c723778e5a3099acb6588f03906 100644 (file)
@@ -54,6 +54,12 @@ dbpasswd        secret
 #
 # rdbms specific directives
 #
+# IBM db2
+#ibmdb2#upper_func             "ucase"
+#ibmdb2#upper_needs_cast       "yes"
+#ibmdb2#concat_pattern         "?||?"
+#ibmdb2#children_cond          "ucase(ldap_entries.dn)=ucase(cast(? as varchar(255)))"
+#
 # PostgreSQL
 #postgres#insentry_query  "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select case when max(id) is null then 1 else max(id) + 1 end from ldap_entries),?,?,?,?)"
 #postgres#upper_func      "upper"