Fix pesky on_connect_* race condition abraxxa++ ilmari++
authorPeter Rabbitson <ribasushi@cpan.org>
Tue, 4 Mar 2014 08:39:49 +0000 (09:39 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Sun, 9 Mar 2014 16:57:26 +0000 (17:57 +0100)
commit1eb87dd767c4bdb815085acb2a8e63e12b32f990
tree5a314ff5b01820204f3ab1e1d574bc40063816d4
parentb1de1b0607484213f9f9f1cd2b8b02e00451d402
Fix pesky on_connect_* race condition abraxxa++ ilmari++

A race condition existed between storage accessor setters and the
determine_driver routines, triggering a connection before the set-cycle
is finished
Changes
lib/DBIx/Class/Storage/DBI.pm
t/storage/on_connect_do.t