[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] [ANN] MySQL driver for GNU Smalltalk
From: |
Bonzini |
Subject: |
Re: [Help-smalltalk] [ANN] MySQL driver for GNU Smalltalk |
Date: |
Mon, 12 Aug 2002 10:55:00 +0200 |
> setWritePosition: aPosition
> endPtr := (ptr := aPosition + 1) + 1! !
>
> does it...
ptr := aPosition + 1
does it better :-)
This morning I completed the port of the MySQL driver. I took the occasion
to refactor the thing and separate DBMS-dependent part into a separate file
and a separate namespace. The usage is completely the same (apart from
having to put namespace indications here and there).
Josh Miller's initials `Jdm' now are the acronym for `Just a Database
Manager': the DBMS-independent parts are into the `Jdm' namespace and the
MySQL driver proper went into `Jdm MySQL'.
Passes the test suite. Uploaded to http://swiki.squeakfoundation.org/gst/6
Bad news: the first casualty of the new CObjects appeared. It is TCP: name
resolution is broken, it only works with `localhost' as the host name. It
suffices to remove the four sends of #value in IPAddress
class>>#extractAddressesAfterLookup: (tcp/IPSocketImpl.st)
Markus, many thanks for starting the port!
Paolo