]> git.sur5r.net Git - openldap/blob - servers/slapd/back-sql/sql-types.h
apparently Oracle does not support AS in joins (ITS#2642)
[openldap] / servers / slapd / back-sql / sql-types.h
1 #ifndef __BACKSQL_SQL_TYPES_H__
2 #define __BACKSQL_SQL_TYPES_H__
3
4 /*
5  *       Copyright 1999, Dmitry Kovalev <mit@openldap.org>, All rights reserved.
6  *
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.
11  */
12
13 #include <sql.h>
14 #include <sqlext.h>
15
16 typedef struct {
17         SWORD           ncols;
18         BerVarray       col_names;
19         UDWORD          *col_prec;
20         char            **cols;
21         SQLINTEGER      *value_len;
22 } BACKSQL_ROW_NTS;
23
24 #endif /* __BACKSQL_SQL_TYPES_H__ */
25