Author: turnstep
Date: Mon Sep 27 16:55:07 2010
New Revision: 14449

Modified:
   DBD-Pg/trunk/t/06bytea.t

Log:
Fix for some 7.4 failing tests, per Dagfinn Ilmari Mannsaaker.


Modified: DBD-Pg/trunk/t/06bytea.t
==============================================================================
--- DBD-Pg/trunk/t/06bytea.t    (original)
+++ DBD-Pg/trunk/t/06bytea.t    Mon Sep 27 16:55:07 2010
@@ -35,6 +35,7 @@
 $sth = $dbh->prepare(q{INSERT INTO dbd_pg_test (id,bytetest) VALUES (?,?)});
 
 $t='bytea insert test with string containing null and backslashes';
+$sth->bind_param(1, undef, { pg_type => PG_INT4 });
 $sth->bind_param(2, undef, { pg_type => PG_BYTEA });
 ok ($sth->execute(400, 'aa\\bb\\cc\\\0dd\\'), $t);
 

Reply via email to