For those who aren't aware: mysql-native (aka "mysqln") is a native-D
MySQL client library that has zero dependencies on the official MySQL
client lib or any other [L]GPL software. It was originally created by
Steve Teale, but various other people have since been maintaining it.
Originally it used
On Fri, 17 May 2013 02:08:05 -0400
Nick Sabalausky wrote:
>
> If you want to use Phobos sockets, you can do it two ways:
>
> 1. Pass -version=MySQLN_NoVibeD to the compiler. This will completely
> eliminate all dependencies on Vibe.d (and remove all Vibe.d
> capabilities, naturally) and automati
Since it makes a lot more sense for the default to be *no*
external dependencies, I've flipped it around:
That's great thanks for your work on this.
One question, is there any plans to add transaction support?
On Tuesday, 21 May 2013 at 09:19:04 UTC, Gary Willoughby wrote:
One question, is there any plans to add transaction support?
Actually this is a dumb idea, i can just send the SQL myself.
On Tue, 21 May 2013 11:21:51 +0200
"Gary Willoughby" wrote:
> On Tuesday, 21 May 2013 at 09:19:04 UTC, Gary Willoughby wrote:
> > One question, is there any plans to add transaction support?
>
> Actually this is a dumb idea, i can just send the SQL myself.
D is freaking awesome for that though:
On Tuesday, 21 May 2013 at 10:12:41 UTC, Nick Sabalausky wrote:
// Psuedocode
START TRANSACTION;
scope(fail) ROLLBACK;
scope(exit) COMMIT;
Nice :)
You may have meant "scope(success) COMMIT;", scope(exit) is
executed on both failure and success.
On Tue, 21 May 2013 12:16:43 +0200
"Dicebot" wrote:
> On Tuesday, 21 May 2013 at 10:12:41 UTC, Nick Sabalausky wrote:
> > // Psuedocode
> > START TRANSACTION;
> > scope(fail) ROLLBACK;
> > scope(exit) COMMIT;
> >
> > Nice :)
>
> You may have meant "scope(success) COMMIT;", scope(exit) is
> exec
I've found a couple more 'bugs'. Well warnings really but should
be addressed.
In connection.d:
lines 2022-2023 should be:
@property ParamDescription[] paramDescriptions() { return
_paramDescriptions; }
@property FieldDescription[] fieldDescriptions() { return
_colDescriptions; }
i.e. miss