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

Bug #5608 Float and Locale Issue
Submitted: 2005-10-05 14:37 UTC
From: wormus Assigned: lsmith
Status: Closed Package: MDB2
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2005-10-05 14:37 UTC] wormus
Description: ------------ If your locale uses ',' as the decimal_seperator, then the quote() function will barf when adding a float into a float column. The same is true for all SQL generation. The only solution I have found is to change the locale generate the SQL and then switch it back.

Comments

 [2005-10-16 15:18 UTC] lsmith
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.