|Keep It Simple, Stupid|
Re: mySQL Query Problemby gmax (Abbot)
|on Feb 11, 2003 at 21:01 UTC||Need Help??|
I could not replicate your problem.
I am using Perl 5.6.1, DBI 1.30 and DBD::mysql 2.1018
This code accepts the variable, inserts it into the table and retrieves the values correctly.
Can you make a simple test case, with appropriate values, so that we can evaluate what is wrong?
Use the above code as a template.
update 12-Feb-2003 17:50 CET
Tested the above code with DBD::mysqlPP and it works as well.
Just replace the connection string with the following.
The mistake is in the DBD::mysqlPP driver. Check the Changelog. Versions prior to 0.04 are affected by a quoting bug, which was corrected 20 days ago!
So, after all, the culprit was the placeholder mechanism. Just update your copy of DBD::mysqlPP