Merge branch 'master' into topic/constructor_rewrite
authorPeter Rabbitson <ribasushi@cpan.org>
Wed, 17 Apr 2013 07:34:50 +0000 (09:34 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Wed, 17 Apr 2013 08:20:05 +0000 (10:20 +0200)
commit723f25e01d5265eab37b8281da0b22387cfa1aaa
tree2d309567e12f19b85db212c13795bdbe5bb73c83
parent894108b6db72b567cb54c2cf5d0accc1854f76ac
parent048c24409260d6c59e99f0d0adf8caafe5a78dd0
Merge branch 'master' into topic/constructor_rewrite

Add some extra code to enforce the assumption that any bind type constant
is accessible in _dbi_attrs_for_bind, or in other words that all necessary
DBDs are already loaded (concept originally introduced in ad7c50fc)

Without this the combination of 9930caaf7e (do not recalculate bind attrs
on dbh_do retry) and a2f228547 (do not wrap iterators in dbh_do) can result
in _dbi_attrs_for_bind being called before DBI/DBD::* has been loaded at all
Changes
lib/DBIx/Class.pm
lib/DBIx/Class/ResultSet.pm
lib/DBIx/Class/Row.pm
lib/DBIx/Class/Storage/DBI.pm
t/60core.t
t/sqlmaker/limit_dialects/torture.t