Replace inadequate $dbh->ping SQLite implementation (RT#78420)
authorPeter Rabbitson <ribasushi@cpan.org>
Thu, 30 Aug 2012 17:06:13 +0000 (19:06 +0200)
committerArthur Axel 'fREW' Schmidt <frioux@gmail.com>
Fri, 5 Oct 2012 21:15:46 +0000 (16:15 -0500)
commit8d1fb3e2db62af871fa19e9d632c317021a356a5
treea20a1c7d229a258a04133f4763390a12b0ab5739
parentb11221ff4e16d4c5fe89adf4327ecbdad66c8e96
Replace inadequate $dbh->ping SQLite implementation (RT#78420)

When SQLite attempts to connect to a file that is not a database,
it nevertheless maintains a true $dbh->{Active} and $dbh->ping.
Replace with a schema listing SELECT, and fix test erroneously
assuming it can portably do chmod 000
Changes
lib/DBIx/Class/Storage/DBI/SQLite.pm
t/storage/reconnect.t