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' );
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.