cvs: pear /DB/DB mysql.php
| From: | Stig Bakken | Date: | Fri, 16 Aug 2002 01:07:52 +0000 |
| Subject: | cvs: pear /DB/DB mysql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5764@lists.php.net to get a copy of this message | ||
ssb Thu Aug 15 21:07:52 2002 EDT
Modified files:
/pear/DB/DB mysql.php
Log:
* support quoting of doubles
Index: pear/DB/DB/mysql.php
diff -u pear/DB/DB/mysql.php:1.9 pear/DB/DB/mysql.php:1.10
--- pear/DB/DB/mysql.php:1.9 Thu Aug 15 06:22:37 2002
+++ pear/DB/DB/mysql.php Thu Aug 15 21:07:52 2002
@@ -16,7 +16,7 @@
// | Author: Stig Bakken <ssb@fast.no> |
// +----------------------------------------------------------------------+
//
-// $Id: mysql.php,v 1.9 2002/08/15 10:22:37 mj Exp $
+// $Id: mysql.php,v 1.10 2002/08/16 01:07:52 ssb Exp $
//
// Database independent query interface definition for PHP's MySQL
// extension.
@@ -665,6 +665,7 @@
case 'null':
return 'NULL';
case 'integer':
+ case 'double':
return $str;
case 'string':
default: