mysql binding/wrapper?
James Oliphant
jollie.roger at gmail.com
Mon Apr 30 09:19:29 PDT 2012
On Mon, 30 Apr 2012 16:18:16 +0200, simendsjo wrote:
> On Mon, 30 Apr 2012 16:08:34 +0200, Steven Schveighoffer
> <schveiguy at yahoo.com> wrote:
>
>> On Sat, 28 Apr 2012 13:42:41 -0400, Adam D. Ruppe
>> <destructionator at gmail.com> wrote:
>>
>>> On Saturday, 28 April 2012 at 16:19:37 UTC, simendsjo wrote:
>>>> Would you mind if the module was added to vibe, and thus relicensed
>>>> to MIT? No idea if the vibe folks would actually want that though :)
>>>
>>> My stuff is all free to take as far as I'm concerned, but since this
>>> uses libmysql it might technically be GPL.
>>
>> If that's the case, using this lib will make your entire project GPL.
>>
>> I think the britseyeview version was an attempt by Steve Teale to write
>> a non-GPL lib that used the protocol spec from MySQL for inclusion in
>> Phobos. Not sure where it stands.
>>
>> -Steve
>
> I wrote a reply yesterday that obviously didn't make it.
> Sönke Ludwig integrated Steve Teales native mysql library:
> https://github.com/rejectedsoftware/mysql-native Haven't had the time to
> test it yet, but at least it compiles and is able to get metadata from
> mysql.
Actually, it looks like the vibe folks are using my fork of Steve Teales
mysqln. I had hoped to contact Steve first, so that these changes existed
in one place.
https://github.com/JollieRoger
All of the changes exist in individual branches off the master branch. Git
will merge these into one file fuzzily.
What they are is as follows:
seperatemain - split main() into its own file (app.d in vibe).
seperatemainwithport - main() using branch addporttoconnection.
addporttoconnection - add no standard port selection to Connection.
fixfordmd2058 - cosmetic changes to work with dmd-2.058.
fixresultset - allow the return of an empty resultset. When
iterating schema, test had no tables and would crash.
fixconnection - would only connect to localhost in Steve's code.
I have other changes that I haven't pushed up yet relating to NUMERIC and
null variants with a more detailed main.d.
Vibe.d looks interesting, I hope these fixes help.
More information about the Digitalmars-d-learn
mailing list