[SqueakDBX] MS SQL Server Backend in Windows - Possible Patch

Mariano Martinez Peck marianopeck at gmail.com
Fri Nov 27 12:28:42 UTC 2009


Excellent Stefan. Thank you very much/

What do you think Norbert?

Cheers

Mariano

On Fri, Nov 27, 2009 at 11:43 AM, Stefan Kapusniak <mlist at yclept.clara.co.uk
> wrote:

> On Tue, 24 Nov 2009 21:11:36 GMT, Stefan Kapusniak wrote:
>
> > I worked out what was going on with the MSSQL backend segfaulting
> > on my  Vista machine
>
> > It turns out if you put in an incorrect (non-existing) host,
> > instead of getting an error either when you connect or when you
> > open the connection, everything seems to work, but it it then all blows
> > up dramatically as soon as you try execute some SQL.
> >
> > The same happens if you supply a username that doesn't exist, or
> > even get your password wrong (ouch!).
>
> Okay I've done some more poking around, and the attached patch to
> the OpenDBX MSSQL backend (1.4.4 tarball) fixes this for me.  It's just
> a one liner that adds setting tc->errtype to -1 in mssql_odbx_bind to
> what it does when it can't connect.
>
> Now whether this is a sane or sensible fix for this, and the
> real problem is SqueakDBX, or something higher up in OpenDBX
> not being able to handle thing without this set and it's that that
> needs fixing instead, I really couldn't tell you :)
>
> -- Stefan
>
> _______________________________________________
> SqueakDBX mailing list
> SqueakDBX at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeakdbx/attachments/20091127/160ed7c8/attachment.htm


More information about the SqueakDBX mailing list