Re: DB autoExecute(): handling of float values
| From: | Markus Ernst | Date: | Fri, 03 Nov 2006 09:20:31 +0000 |
| Subject: | Re: DB autoExecute(): handling of float values | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25704@lists.php.net to get a copy of this message | ||
Mark Wiesemann schrieb:
It's a bug in DB that a user of DB_Table some weeks ago noted (and he said that he will open a bug report for DB; MDB2 is not affected because of smarter logic for handling of decimals). If you want to open a bug report: The error is in executeEmulateQuery() in DB/common.php. The string concatenation in line 1003 $realquery .= $this->quoteSmart($value); is responsible for the error (quoteSmart() has the right value, but the concatenation breaks the query).Thank you very much! Now as I did not search explicitly for autoExecute() and autoPrepare() related bugs I found this one: http://pear.php.net/bugs/bug.php?id=3021 I hope you don't mind I posted your comment there. Best regards Markus