cvs: pear /MDB2/MDB2/Driver/Manager ibase.php
| From: | Lorenzo Alberton | Date: | Wed, 12 Oct 2005 18:18:40 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver/Manager ibase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35475@lists.php.net to get a copy of this message | ||
quipo Wed Oct 12 14:18:40 2005 EDT
Modified files:
/pear/MDB2/MDB2/Driver/Manager ibase.php
Log:
rename result array, as per Lukas' request
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/Manager/ibase.php?r1=1.45&r2=1.46&ty=u
Index: pear/MDB2/MDB2/Driver/Manager/ibase.php
diff -u pear/MDB2/MDB2/Driver/Manager/ibase.php:1.45 pear/MDB2/MDB2/Driver/Manager/ibase.php:1.46
--- pear/MDB2/MDB2/Driver/Manager/ibase.php:1.45 Wed Oct 12 11:43:12 2005
+++ pear/MDB2/MDB2/Driver/Manager/ibase.php Wed Oct 12 14:18:39 2005
@@ -42,7 +42,7 @@
// | Author: Lorenzo Alberton <l.alberton@quipo.it> |
// +----------------------------------------------------------------------+
//
-// $Id: ibase.php,v 1.45 2005/10/12 15:43:12 quipo Exp $
+// $Id: ibase.php,v 1.46 2005/10/12 18:18:39 quipo Exp $
require_once 'MDB2/Driver/Manager/Common.php';
@@ -704,15 +704,15 @@
if (PEAR::isError($table_names)) {
return $table_names;
}
- $sequences = array();
+ $result = array();
for ($i = 0, $j = count($table_names); $i < $j; ++$i) {
if ($sqn = $this->_isSequenceName($table_names[$i]))
- $sequences[] = $sqn;
+ $result[] = $sqn;
}
if ($db->options['portability'] & MDB2_PORTABILITY_FIX_CASE) {
- $sequences = array_map(($db->options['field_case'] == CASE_LOWER ?
'strtolower' : 'strtoupper'), $sequences);
+ $result = array_map(($db->options['field_case'] == CASE_LOWER ?
'strtolower' : 'strtoupper'), $result);
}
- return $sequences;
+ return $result;
}
}
?>
\ No newline at end of file