PATCH mysql: doubles?!
| From: | Kristian K. Nielsen | Date: | Thu, 15 Aug 2002 14:28:39 +0000 |
| Subject: | PATCH mysql: doubles?! | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-8441@lists.php.net to get a copy of this message | ||
Hey,
I have seen that in PostgresSql, doubles are also correctly send unquoted,
but this is not
the case in the mysql implementation - is that on purpose??
I suggest this patch to be applied:
--- bug-mysql.php Thu Aug 15 16:24:19 2002
+++ mysql.php Thu Aug 15 16:25:02 2002
@@ -655,6 +655,7 @@
case 'null':
return 'NULL';
case 'integer':
+ case 'double':
return $str;
case 'string':
default:
Regards
Kristian K. Nielsen