[SqueakDBX] MS SQL Server Backend in Windows (working but some problems)

Mariano Martinez Peck marianopeck at gmail.com
Fri Nov 27 19:47:54 UTC 2009

Ok....I filein your tests, and could crash when using MSSQL. After that, I
applied the patch to mssql_basic.c and all were green :)

After that, I check the rest of the backends. I had to disable these tests
for Sqlite3 as for Sqlite3 you don't need those parameters, so, you
shouldn't raise an exception. I also changed testConnectBadHost to catch
DBXError instead of DBXFatalError because in Oracle that error is managed as

Thanks for all of your help stefan.

See my commit:

Name: OpenDBX-Core-MarianoMartinezPeck.249
Author: MarianoMartinezPeck
Time: 27 November 2009, 4:44:37 pm
UUID: ddb7a31b-4422-4438-9fab-fe42bfa22f71
Ancestors: OpenDBX-Core-aaa.248

Thanks to Stefan Kapusniak we have new tests that tests what happens if we
set bad data to settings like host, username and password.

In addition, with MSSQL, when this was done, SqueakDBX didn't receive any
error from OpenDBX and when a query was send, the image crash. So, to get
green tests in MSSQL you should apply the patch. We will talk to Norbert so
that to put this fix in the next release.

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

> On Thu, 26 Nov 2009 22:10:50 -0300, Mariano Martinez Peck wrote:
> > One question: if you put some data wrong, as you said. For example,
> > non existent user or something similar, the connect and open
> > message does not return error ??? I mean....if you are able to send
> > a query is because those messages where successful.
> > Am I correct?
> Yes, I don't get any sort of error at least from the Smalltalk code. The
> OpenDBX backend code *looks* like it's raising an error however.
> I'm not sure whether the actual problem is OpenDBX not raising the
> error properly or SqueakDBX not detecting it correctly. Getting OpenDBX
> to set the errtype in it's connection structure does make the Smalltalk
> side see the error.
> > If this is the case, I will ask Norbert, because we should receive
> > an error in that case.
> ...see my other mail with a patch to OpendDBX that sets the errtype :)
> -- 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/f02bb5a9/attachment.htm

More information about the SqueakDBX mailing list