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

Re: (ITS#4605) backs-sql: speedup when using views

On Sat, 2006-07-01 at 16:56 +0200, Thomas Reifferscheid wrote:

> > Your issue is the result of a misuse of the software;
> I came here to say "hello, here is my workaround, let's make
> it better, so that the software gets better".

OK; right now, I don't consider taking a general software and making it
work for your single table hack only anything any close to "get better".

> > I suggest your
> > patch be rejected as it would break back-sql destroying its generality
> Acknowledged, as this patch definitly is evil. How can it be done
> better?
> Implement a slapd.conf variable "hijacker true" with the default
> "hijacker false"?

Feel free to make it work like that and to maintain your personal copy
like that.

> Can it be done in other ways? Or is rejecting the patch everything
> that can be done?

To me, at least, it looks like a reasonable starting point :).

Unfortunately, I don't have time right now to see if and how this
particular case could be generalized to something that complies to the
data model of back-sql.  It is not yet clear to me why you need to turn
ldap_entries into a view that contains also the data and not only the
connectivity info.


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