cvs: pear /MDB2 MDB2.php
| From: | Lorenzo Alberton | Date: | Sun, 16 Oct 2005 21:00:28 +0000 |
| Subject: | cvs: pear /MDB2 MDB2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35611@lists.php.net to get a copy of this message | ||
quipo Sun Oct 16 17:00:28 2005 EDT
Modified files:
/pear/MDB2 MDB2.php
Log:
don't quote sequence names within getSequenceName()
http://cvs.php.net/diff.php/pear/MDB2/MDB2.php?r1=1.131&r2=1.132&ty=u
Index: pear/MDB2/MDB2.php
diff -u pear/MDB2/MDB2.php:1.131 pear/MDB2/MDB2.php:1.132
--- pear/MDB2/MDB2.php:1.131 Sun Oct 16 10:33:57 2005
+++ pear/MDB2/MDB2.php Sun Oct 16 17:00:28 2005
@@ -43,7 +43,7 @@
// | Author: Lukas Smith <smith@pooteeweet.org> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB2.php,v 1.131 2005/10/16 14:33:57 lsmith Exp $
+// $Id: MDB2.php,v 1.132 2005/10/16 21:00:28 quipo Exp $
//
/**
@@ -2372,7 +2372,7 @@
// {{{ getSequenceName()
/**
- * adds sequence name formating to a sequence name
+ * adds sequence name formatting to a sequence name
*
* @param string $sqn name of the sequence
* @return string formatted sequence name
@@ -2380,8 +2380,8 @@
*/
function getSequenceName($sqn)
{
- return $this->quoteIdentifier(sprintf($this->options['seqname_format'],
- preg_replace('/[^a-z0-9_]/i', '_', $sqn)));
+ return sprintf($this->options['seqname_format'],
+ preg_replace('/[^a-z0-9_]/i', '_', $sqn));
}
// }}}