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

RE: back-sql using varchar keyvals and ids

--On Friday, August 01, 2008 4:05 PM -0500 "Potkanski, Jason" <JPotkanski@cciminstitute.com> wrote:

----- Pierangelo Masarati <ando@sys-net.it> wrote:

You can modify back-sql.h, defining BACKSQL_ARBITRARY_KEY and
recompiling, to allow strings to be >used as keys.  Not extensively
tested, but should work.

Altered the Fedora SRPM to define BACKSQL_ARBITRARY_KEY, rebuilt the RPMs.

Works as expected with either MS SQL Server or MySQL backends. I was able
to successfully replace ldap_entries with a view and use baseObject in

Why isn't this #define on by default? Can this be always on or if not
moved to a configuration variable in slapd.conf to turn it on?

Can't you just set it in CFLAGS when you compile?



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration