mysql-native v2.1.0
bauss
jj_1337 at live.dk
Thu Mar 8 14:53:56 UTC 2018
On Thursday, 8 March 2018 at 13:33:32 UTC, Nick Sabalausky
(Abscissa) wrote:
> Sonke figured out just a few hours ago, and I confirmed, that
> #170 is caused by a bug in MySQLPool.lockConnection introduced
> in v2.1.0. I plan to have that fixed with a new release today.
>
> That bug turned out to be caused by MySQLPool.lockConnection
> allowing the LockedConnection!Connection it received from vibe
> to degrade down to a plain Connection (because of alias this
> allowing implicit conversion). So MySQLPool.lockConnection
> would then return the *raw* Connection instead, thus allowing
> LockedConnection to go out of scope and reclaim the connection
> as soon as MySQLPool.lockConnection returned.
>
> Sonke's been putting thought into how to adjust vibe's
> LockedConnection so this can't happen by accident. Maybe your
> lib fell prey to the same accident mine did?
>
>
>> And yes I need support for multiple connection strings. It's
>> not an application, it's a library for writing enterprise
>> websites/webapis and thus it should be scalable, since most
>> enterprise solutions uses multiple databases.
>
> Ah, I see. Fair enough.
That's possible. Looking forward to the release, then I'll test
it out and see what happens.
More information about the Digitalmars-d-announce
mailing list