cvs: pear /MDB2 MDB2.php
| From: | Lukas Smith | Date: | Fri, 14 Oct 2005 22:39:03 +0000 |
| Subject: | cvs: pear /MDB2 MDB2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35554@lists.php.net to get a copy of this message | ||
lsmith Fri Oct 14 18:39:03 2005 EDT
Modified files:
/pear/MDB2 MDB2.php
Log:
- quote sequence name
http://cvs.php.net/diff.php/pear/MDB2/MDB2.php?r1=1.128&r2=1.129&ty=u
Index: pear/MDB2/MDB2.php
diff -u pear/MDB2/MDB2.php:1.128 pear/MDB2/MDB2.php:1.129
--- pear/MDB2/MDB2.php:1.128 Fri Oct 14 17:21:48 2005
+++ pear/MDB2/MDB2.php Fri Oct 14 18:39:02 2005
@@ -43,7 +43,7 @@
// | Author: Lukas Smith <smith@pooteeweet.org> |
// +----------------------------------------------------------------------+
//
-// $Id: MDB2.php,v 1.128 2005/10/14 21:21:48 quipo Exp $
+// $Id: MDB2.php,v 1.129 2005/10/14 22:39:02 lsmith Exp $
//
/**
@@ -2388,8 +2388,8 @@
*/
function getSequenceName($sqn)
{
- return sprintf($this->options['seqname_format'],
- preg_replace('/[^a-z0-9_]/i', '_', $sqn));
+ return $this->quoteIdentifier(sprintf($this->options['seqname_format'],
+ preg_replace('/[^a-z0-9_]/i', '_', $sqn)));
}
// }}}