Author: REHSACK
Date: Mon May 24 03:08:39 2010
New Revision: 14022

Modified:
   dbi/trunk/t/50dbm_simple.t

Log:
take DBI amount of fetched rows from statement handle

Modified: dbi/trunk/t/50dbm_simple.t
==============================================================================
--- dbi/trunk/t/50dbm_simple.t  (original)
+++ dbi/trunk/t/50dbm_simple.t  Mon May 24 03:08:39 2010
@@ -241,7 +241,7 @@
        my $expected_rows = $results[$idx];
        TODO: {
            local $TODO = "Proxying DBD's might not return amount of fetched 
rows";
-           is( $DBI::rows, scalar( @{$expected_rows} ), $sql );
+           is( $sth->rows, scalar( @{$expected_rows} ), $sql );
        }
        is_deeply( $allrows, $expected_rows, 'SELECT results' );
     }

Reply via email to