]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-sql/back-sql.h
Add search no-op support.
[openldap] / servers / slapd / back-sql / back-sql.h
index a63ca8eb9e45609e8b8fe5c2b34f899b84eae429..d38b9d0120e01c4e13dbab02e66b32d5c0a78594 100644 (file)
@@ -22,8 +22,8 @@ typedef struct
  char *dbuser;
  char *dbpasswd;
  char *dbname;
- //SQL condition for subtree searches differs in syntax:
- //"LIKE CONCAT('%',?)" or "LIKE '%'+?" or smth else
+ /*SQL condition for subtree searches differs in syntax:
+ *"LIKE CONCAT('%',?)" or "LIKE '%'+?" or smth else */
  char *subtree_cond;
  char *oc_query,*at_query;
  char *insentry_query,*delentry_query;
@@ -36,6 +36,9 @@ typedef struct
  ldap_pvt_thread_mutex_t dbconn_mutex;
  ldap_pvt_thread_mutex_t schema_mutex;
  SQLHENV db_env;
+ int   isTimesTen; /* TimesTen */
+ int   has_ldapinfo_dn_ru;  /* Does ldapinfo.dn_ru exist in schema? */
 }backsql_info;
 
-#endif
\ No newline at end of file
+#endif
+