cvs: pear /MDB2/MDB2/Driver/Datatype oci8.php
| From: | Lukas Smith | Date: | Tue, 21 Mar 2006 11:15:07 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver/Datatype oci8.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-39220@lists.php.net to get a copy of this message | ||
lsmith Tue Mar 21 11:15:07 2006 UTC
Modified files:
/pear/MDB2/MDB2/Driver/Datatype oci8.php
Log:
- use NUMBER(1) for booleans (partial fix for bug #7170)
http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/Datatype/oci8.php?r1=1.42&r2=1.43&diff_format=u
Index: pear/MDB2/MDB2/Driver/Datatype/oci8.php
diff -u pear/MDB2/MDB2/Driver/Datatype/oci8.php:1.42 pear/MDB2/MDB2/Driver/Datatype/oci8.php:1.43
--- pear/MDB2/MDB2/Driver/Datatype/oci8.php:1.42 Wed Mar 1 12:15:33 2006
+++ pear/MDB2/MDB2/Driver/Datatype/oci8.php Tue Mar 21 11:15:07 2006
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@pooteeweet.org> |
// +----------------------------------------------------------------------+
-// $Id: oci8.php,v 1.42 2006/03/01 12:15:33 lsmith Exp $
+// $Id: oci8.php,v 1.43 2006/03/21 11:15:07 lsmith Exp $
require_once 'MDB2/Driver/Datatype/Common.php';
@@ -125,7 +125,7 @@
case 'integer':
return 'INT';
case 'boolean':
- return 'INT';
+ return 'NUMBER(1)';
case 'date':
case 'time':
case 'timestamp':