cvs: pear /MDB2/MDB2/Driver ibase.php
| From: | Lukas Smith | Date: | Thu, 23 Mar 2006 12:35:35 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver ibase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-39290@lists.php.net to get a copy of this message | ||
lsmith Thu Mar 23 12:35:35 2006 UTC
Modified files:
/pear/MDB2/MDB2/Driver ibase.php
Log:
- honor check_option parameter in quoteIdentifier()
http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/ibase.php?r1=1.145&r2=1.146&diff_format=u
Index: pear/MDB2/MDB2/Driver/ibase.php
diff -u pear/MDB2/MDB2/Driver/ibase.php:1.145 pear/MDB2/MDB2/Driver/ibase.php:1.146
--- pear/MDB2/MDB2/Driver/ibase.php:1.145 Fri Mar 17 16:55:12 2006
+++ pear/MDB2/MDB2/Driver/ibase.php Thu Mar 23 12:35:35 2006
@@ -43,7 +43,7 @@
// | Author: Lorenzo Alberton <l.alberton@quipo.it> |
// +----------------------------------------------------------------------+
//
-// $Id: ibase.php,v 1.145 2006/03/17 16:55:12 quipo Exp $
+// $Id: ibase.php,v 1.146 2006/03/23 12:35:35 lsmith Exp $
/**
* MDB2 FireBird/InterBase driver
@@ -224,8 +224,10 @@
* @access public
*/
function quoteIdentifier($str, $check_option = false)
-
{
+ if ($check_option && !$this->options['quote_identifier']) {
+ return $str;
+ }
return strtoupper($str);
}