shibboleth-dev - Re: Testing ODBC store
Subject: Shibboleth Developers
List archive
- From: giacomo tenaglia <>
- To:
- Subject: Re: Testing ODBC store
- Date: Sat, 8 Dec 2007 20:58:54 +0100
On Thu, Dec 06, 2007 at 12:07:26PM -0500, Scott Cantor wrote:
> > Then I've tested a MySQL backend. The SQL sample code in odbc-store.cpp
> > works perfectly and creates the table structure, but shibd segfaults
> > even when invoked with -t. Last lines of a strace output follow:
>
> Can you get a stack trace?
Next week I will work with gdb to get it.
> > unixODBC is at version 2.2.11-1.RHEL4.1, MyODBC is at version
> > 2.50.39-25.RHEL4.1.
>
> unixODBC is what I use, I wouldn't install both. Maybe that's involved
> somehow.
No, I've understood that unixODBC has not the MySQL driver built in. I
have checked also in Debian and they're in two different packages.
> > The second problem was a syntax error while inserting a new session in
> > the cache, generated from line 426 of odbc-store.cpp. I've modified the
> > line in this way (diff -ru):
>
> Just adding INTO? I'll make sure that works for SQL Server and just patch
> that. Weird that it requires it.
I don't have fully understood if the standard SQL requires only INSERT
and support also the INTO, or to require both... after some searching I
think it's the latter.
giacomo
--
giacomo tenaglia
Technical student at CERN IT/DES-SIS
CNR Biblioteca d'Area di Bologna - http://biblio.bo.cnr.it
Phone +41 76 5003376 -
sip:
- Testing ODBC store, giacomo tenaglia, 12/06/2007
- RE: Testing ODBC store, Scott Cantor, 12/06/2007
- Re: Testing ODBC store, giacomo tenaglia, 12/14/2007
- RE: Testing ODBC store, Scott Cantor, 12/14/2007
- <Possible follow-up(s)>
- Re: Testing ODBC store, giacomo tenaglia, 12/08/2007
- RE: Testing ODBC store, Scott Cantor, 12/08/2007
- Re: Testing ODBC store, giacomo tenaglia, 12/10/2007
- RE: Testing ODBC store, Scott Cantor, 12/10/2007
- RE: Testing ODBC store, Scott Cantor, 12/10/2007
- Re: Testing ODBC store, giacomo tenaglia, 12/18/2007
Archive powered by MHonArc 2.6.16.