<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman; min-height: 15.0px"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; font-size: 13px; ">Stefan</span><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman; min-height: 15.0px">
<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; font-size: 13px;"><br></span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman">I was thinking about your problem. We have validation from SqueakDBX side. You can see it in DBXConnection&gt;&gt;validateSettingsForConnect and DBXConnection&gt;&gt;validateSettingsForOpen</p>

<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman">However, in this case, I think the problem is in OpenDBX or even in FreeTDS. </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman">So, a good start point would be if you can create a UnitTest of that so that I can try to reproduce it and:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman">a) I can see what happens with other backends</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman">b) I can ask Norbert (OpenDBX author) if he can reproduce it and if he as an idea of how to fix it).</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman; min-height: 15.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman">Creating a SqueakDBX unit tests is simple. Just create a subclass of DBXBaseTest.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman; min-height: 15.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman">What do you think ?</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman; min-height: 15.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman">Cheers</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman; min-height: 15.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman">Mariano</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times New Roman; min-height: 15.0px"><br></p><br><div class="gmail_quote">On Wed, Nov 25, 2009 at 12:38 PM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br>
<div class="gmail_quote"><div class="im">On Tue, Nov 24, 2009 at 6:11 PM, Stefan Kapusniak <span dir="ltr">&lt;<a href="mailto:mlist@yclept.clara.co.uk" target="_blank">mlist@yclept.clara.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid"><br>I worked out what was going on with the MSSQL backend segfaulting on my<br>Vista machine when running the tests.  It wasn&#39;t as fatal as I thought<br>

initially, but it&#39;s a pretty serious problem if you want to use it in production<br>code.<br><br>It turns out if you put in an incorrect (non-existing) host, instead of getting an<br>error either when you connect or when you open the connection, everything<br>

seems to work, but it it then all blows up dramatically as soon as you try<br>execute some SQL.<br><br>The same happens if you supply a username that doesn&#39;t exist, or even get<br>your password wrong (ouch!).<br><br>
I guess I&#39;ll be poking around the code a bit to try and see what I can come up<br>
with for that one :)<br><br></blockquote>
<div> </div>
</div><div>Ok. I will take a look as soon as possible. I am a bit complicated this week (I moved to France).</div><div class="im">
<div> </div>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">I also ran the core tests, and got 2 failures on multi-statements, I assume that&#39;s<br>the known thing that&#39;s in the OpenDBX bug tracker?<br>

<br></blockquote>
<div> </div>
</div><div>Yes, exactly :)</div><div class="im">
<div> </div>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">This is all on Windows Vista, Pharo RC1 (10498), OpenDBX 1.4.4,<br>FreeTDS 0.82, SQL Server Express 2008, both OpenDBX and FreeTDS built<br>

from source with ye olde mingw recommended on the OpenDBX site.<br><br></blockquote>
<div> </div>
</div><div>WOW!!! That&#39;s excellent news. Did you have to change something in SqueakDBX code to make it work? Feel free to commit or discuss.</div>
<div> </div>
<div>Cheers,</div>
<div> </div><font color="#888888">
<div>Mariano</div></font><div class="im">
<div> </div>
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">-- Stefan<br>_______________________________________________<br>SqueakDBX mailing list<br><a href="mailto:SqueakDBX@lists.squeakfoundation.org" target="_blank">SqueakDBX@lists.squeakfoundation.org</a><br>

<a href="http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx</a><br></blockquote></div></div><br>
</blockquote></div><br>