Author: turnstep
Date: Sun Jun 1 18:31:20 2008
New Revision: 11365
Modified:
DBD-Pg/trunk/t/03dbmethod.t
Log:
Minor tweak.
Modified: DBD-Pg/trunk/t/03dbmethod.t
==============================================================================
--- DBD-Pg/trunk/t/03dbmethod.t (original)
+++ DBD-Pg/trunk/t/03dbmethod.t Sun Jun 1 18:31:20 2008
@@ -384,11 +384,11 @@
like( $maxcon, qr{^\d+$}, q{DB handle method "get_info" returns a number for
SQL_MAX_DRIVER_CONNECTIONS});
$t=q{DB handle method "get_info" returns correct string for
SQL_DATA_SOURCE_READ_ONLY when "on"};
-$dbh->do("SET transaction_read_only = 'on'");
+$dbh->do(q{SET transaction_read_only = 'on'});
is($dbh->get_info(25), 'Y', $t);
$t=q{DB handle method "get_info" returns correct string for
SQL_DATA_SOURCE_READ_ONLY when "off"};
-$dbh->do("SET transaction_read_only = 'off'");
+$dbh->do(q{SET transaction_read_only = 'off'});
is($dbh->get_info(25), 'N', $t);
#