[Bast-commits] r3198 - in
branches/DBIx-Class-Schema-Loader/current: .
lib/DBIx/Class/Schema/Loader/DBI
blblack at dev.catalyst.perl.org
blblack at dev.catalyst.perl.org
Tue Apr 17 03:30:58 GMT 2007
Author: blblack
Date: 2007-04-17 03:30:49 +0100 (Tue, 17 Apr 2007)
New Revision: 3198
Modified:
branches/DBIx-Class-Schema-Loader/current/
branches/DBIx-Class-Schema-Loader/current/Changes
branches/DBIx-Class-Schema-Loader/current/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm
Log:
r30561 at brandon-blacks-computer (orig r3197): blblack | 2007-04-16 21:29:51 -0500
fix for ^sqlite_ tables from chromatic
Property changes on: branches/DBIx-Class-Schema-Loader/current
___________________________________________________________________
Name: svk:merge
- bd8105ee-0ff8-0310-8827-fb3f25b6796d:/trunk/DBIx-Class-Schema-Loader:3190
+ bd8105ee-0ff8-0310-8827-fb3f25b6796d:/trunk/DBIx-Class-Schema-Loader:3197
Modified: branches/DBIx-Class-Schema-Loader/current/Changes
===================================================================
--- branches/DBIx-Class-Schema-Loader/current/Changes 2007-04-17 02:29:51 UTC (rev 3197)
+++ branches/DBIx-Class-Schema-Loader/current/Changes 2007-04-17 02:30:49 UTC (rev 3198)
@@ -1,5 +1,7 @@
Revision history for Perl extension DBIx::Class::Schema::Loader
+ - skip ^sqlite_ tables in SQLite (thanks chromatic)
+
0.03999_01 Sat Apr 14 19:57:40 GMT 2007
- Added *experimental* Oracle support from work done
by Tsunoda Kazuya some months ago. Not well tested.
Modified: branches/DBIx-Class-Schema-Loader/current/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm
===================================================================
--- branches/DBIx-Class-Schema-Loader/current/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm 2007-04-17 02:29:51 UTC (rev 3197)
+++ branches/DBIx-Class-Schema-Loader/current/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm 2007-04-17 02:30:49 UTC (rev 3198)
@@ -167,6 +167,7 @@
my @tables;
while ( my $row = $sth->fetchrow_hashref ) {
next unless lc( $row->{type} ) eq 'table';
+ next if $row->{tbl_name} =~ /^sqlite_/;
push @tables, $row->{tbl_name};
}
$sth->finish;
More information about the Bast-commits
mailing list