deployment_statements() and cursor_class() are storage-dependent
authorPeter Rabbitson <ribasushi@cpan.org>
Tue, 9 Apr 2013 13:26:52 +0000 (15:26 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Sat, 20 Apr 2013 22:37:35 +0000 (00:37 +0200)
commit1759f82f9191bd4ec6ad743d066082242ddbce39
tree7de3e3605df276aa2cb0bdb090f212fcbb08a886
parentd87929a4221da691151ac8849a658a5d363d88f7
deployment_statements() and cursor_class() are storage-dependent

We need some sort of generic test for this, so we stop dropping stuff
on the floor. The logic is something like "if a public method is overriden
in a DBI:: subclass - we need to mark it for resolution". E.g.

rabbit@Thesaurus:~/devel/dbic/dbgit$ grep deployment_statements -r lib/DBIx/Class/Storage/DBI/
lib/DBIx/Class/Storage/DBI/Pg.pm:sub deployment_statements {
lib/DBIx/Class/Storage/DBI/Replicated.pm:    deployment_statements
lib/DBIx/Class/Storage/DBI/mysql.pm:sub deployment_statements {
lib/DBIx/Class/Storage/DBI/SQLite.pm:sub deployment_statements {
lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm:sub deployment_statements {
Changes
lib/DBIx/Class/Storage/DBI.pm
t/storage/deploy.t