Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.0b5

Bug #14831 wrong $ignores in _skipDelimitedStrings()
Submitted: 2008-10-20 06:51 UTC
From: alec Assigned: quipo
Status: Closed Package: MDB2 (version CVS)
PHP Version: 5.2.6 OS:
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 35 - 19 = ?

 
 [2008-10-20 06:51 UTC] alec (Aleksander Machniak)
Description: ------------ $this->sql_comments array may be multidimensional, so to create $ignores array function array_merge() should be used. Also $ignores array is not used in prepare(). See attached patch.

Comments

 [2008-10-22 07:38 UTC] alec (Aleksander Machniak)
After applying my MDB2.patch there's another problem on mysql. Example query: UPDATE table SET "col"='aaaa\\' WHERE id=? will trigger error, because on mysql string_quoting definition has the same escape and escape_pattern values. That's why MDB2_add.patch is required.
 [2008-11-09 17:51 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.