Codebase list libexception-class-dbi-perl / 3971ceb
Added note about CursorName bug. David Wheeler 21 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
00 #!/usr/bin/perl -w
11
2 # $Id: sth.t,v 1.4 2002/08/23 18:26:26 david Exp $
2 # $Id: sth.t,v 1.5 2002/08/23 18:27:36 david Exp $
33
44 use strict;
55 use Test::More (tests => 35);
7272 }
7373
7474 is( ref $err->nullable, 'ARRAY', "Check nullable" );
75 # ExampleP fails to get the CursorName attribute under DBI. Which is
76 # why this test is using PurePerl, instead.
7577 ok( ! defined $err->cursor_name, "Check cursor_name" );
7678 is( $err->statement, 'select * from foo', 'Check statement' );
7779 ok( ! defined $err->rows_in_cache, "Check rows_in_cache" );