[svn:DBD-Pg] r14449 - DBD-Pg/trunk/t

[email protected]
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
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);
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.