3 Mar 2011 01:25
Bind parameters for SET statements
Alfie John <alfie <at> h4c.kr>
2011-03-03 00:25:03 GMT
2011-03-03 00:25:03 GMT
Hi, Not sure if this is a DBD::mysql or a plain DBI problem but thought I would start here. It seems that the following code is broken: $dbh->do( 'SET TIMESTAMP=?', undef, $timestamp ); This fails with: Incorrect argument type to variable 'timestamp' Yet the following works: $dbh->do( "SET TIMESTAMP=$timestamp" ); Alfie -- -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules <at> m.gmane.org
RSS Feed