fix a syntax error in MS Access ADO driver
Rafael Kitover [Fri, 25 Feb 2011 11:02:44 +0000 (06:02 -0500)]
Changes
lib/DBIx/Class/Schema/Loader/DBI/ADO/MS_Jet.pm

diff --git a/Changes b/Changes
index a6b0a40..5d99408 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 Revision history for Perl extension DBIx::Class::Schema::Loader
 
+        - fix a syntax error in MS Access ADO driver
+
 0.07008  2011-02-25 01:54:43
         - rename column_accessor_map to col_accessor_map, the old alias still
           works
index a607dc6..e2dbf8f 100644 (file)
@@ -126,7 +126,7 @@ sub _columns_info_for {
 
         my $col_obj;
 
-        $self->_adox_catalog->Tables->Item($table)->Columns;
+        my $cols = $self->_adox_catalog->Tables->Item($table)->Columns;
 
         for my $col_idx (0..$cols->Count-1) {
             $col_obj = $cols->Item($col_idx);