Ensure the $storage state reflects the current connection state closely
authorPeter Rabbitson <ribasushi@cpan.org>
Wed, 27 Jan 2016 12:35:55 +0000 (13:35 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Wed, 27 Jan 2016 18:45:22 +0000 (19:45 +0100)
commit729656c504e5ca25cfebfbbbce69bb1e74268ef6
treea3f8a7a44e1e9447e770f348af3c32ea4ed12a1a
parent84efb6d7f74f92330bf03e923a5386bbf5e7cf7e
Ensure the $storage state reflects the current connection state closely

Add several extra calls to ->disconnect, ensuring that oddball events do not
leave things in an undefined state. Even more rather hideous testcases, looks
like that problem has been nailed now. Several remain, see next commits :(
Changes
lib/DBIx/Class/Storage.pm
lib/DBIx/Class/Storage/BlockRunner.pm
lib/DBIx/Class/Storage/DBI.pm
t/71mysql.t
t/storage/reconnect.t