5 * Copyright 1999, Dmitry Kovalev <mit@openldap.org>, All rights reserved.
7 * Redistribution and use in source and binary forms are permitted only
8 * as authorized by the OpenLDAP Public License. A copy of this
9 * license is available at http://www.OpenLDAP.org/license.html or
10 * in file LICENSE in the top-level directory of the distribution.
15 #include "sql-types.h"
16 #define BACKSQL_MAX_DN_LEN 255
25 /*SQL condition for subtree searches differs in syntax:
26 *"LIKE CONCAT('%',?)" or "LIKE '%'+?" or smth else */
28 char *oc_query,*at_query;
29 char *insentry_query,*delentry_query;
36 ldap_pvt_thread_mutex_t dbconn_mutex;
37 ldap_pvt_thread_mutex_t schema_mutex;
39 int isTimesTen; /* TimesTen */
40 int has_ldapinfo_dn_ru; /* Does ldapinfo.dn_ru exist in schema? */