[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4563) back-sql returns success from noop

On Thu, 2006-05-25 at 11:00 +0000, h.b.furuseth@usit.uio.no wrote:

> Back-sql supports the noop control, but as far as I can tell from
> the code it returns LDAP_SUCCESS instead of LDAP_X_NO_OPERATION
> for update operations.  I can't test it though.

Actually, the control was commented out (in back-sql/init.c), because
the only rdbms I tested it with (Postgres 7-ish w/ some unixODBC 2.2-
ish) had some strange behavior on rollback of autoincrement keys.  Now,
with Postgres 7.4.8 and unixODBC 2.2.11 it seems to work fine, so I guess
it was really the rdbms/odbc.  I have enabled it again.


Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it