63d3d2de02
Fixed libldap socket polling for writes Fixed liblutil string modifications Fixed slapd crash when attrsOnly is true Fixed slapd syncrepl delete handling Fixed slapd-mdb slapadd with -q Fixed slapd-mdb slapadd with -w Fixed slapd-mdb slapindex with -q and -t Fixed slapo-pcache time-to-refesh handling Fixed slapo-syncprov loop detection Build Environment Fixed POSIX make support Fixed slapd-mdb build on POSIX Documentation Added option "-o" to ldap*(1) pages Fixed ldap*(1) page cleanup Fixed ldap_modify(3) prototypes
16 lines
547 B
Text
16 lines
547 B
Text
$NetBSD: patch-ao,v 1.2 2012/03/13 19:57:11 adam Exp $
|
|
|
|
SQL_NO_DATA is called SQL_NO_DATA_FOUND in ODBC versions >= 3.0,
|
|
as provided by databases/iodbc and databases/unixodbc.
|
|
|
|
--- servers/slapd/back-sql/delete.c.orig 2005-08-09 23:04:06.000000000 +0200
|
|
+++ servers/slapd/back-sql/delete.c
|
|
@@ -209,7 +209,7 @@ backsql_delete( Operation *op, SlapReply
|
|
|
|
rc = SQLExecute( sth );
|
|
switch ( rc ) {
|
|
- case SQL_NO_DATA:
|
|
+ case SQL_NO_DATA_FOUND:
|
|
/* apparently there were no "auxiliary" objectClasses
|
|
* for this entry... */
|
|
case SQL_SUCCESS:
|