Author: turnstep
Date: Tue Jul 10 17:11:21 2007
New Revision: 9720
Modified:
DBD-Pg/trunk/t/02attribs.t
Log:
Change sqlstate code
Modified: DBD-Pg/trunk/t/02attribs.t
==============================================================================
--- DBD-Pg/trunk/t/02attribs.t (original)
+++ DBD-Pg/trunk/t/02attribs.t Tue Jul 10 17:11:21 2007
@@ -886,7 +886,7 @@
# The database handle should be dead
ok ( !$dbh->ping(), qq{Ping fails after the
child has exited ("InactiveDestroy" = $destroy)});
my $state = $dbh->state();
- is( $state, 'S8006', qq{Failed ping returns a
SQLSTATE code of S8006});
+ is( $state, '22000', qq{Failed ping returns a
SQLSTATE code of 22000});
SKIP: {
skip "Can't determine advanced ping
with old 7.2 server libraries", 1
if $pglibversion < 70400;