cvs: pear /MDB2/MDB2/Driver/Manager oci8.php
| From: | Lorenzo Alberton | Date: | Tue, 12 Feb 2008 21:37:08 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver/Manager oci8.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-50993@lists.php.net to get a copy of this message | ||
quipo Tue Feb 12 21:37:08 2008 UTC
Modified files:
/pear/MDB2/MDB2/Driver/Manager oci8.php
Log:
cosmetics (renamed var)
http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/Manager/oci8.php?r1=1.101&r2=1.102&diff_format=u
Index: pear/MDB2/MDB2/Driver/Manager/oci8.php
diff -u pear/MDB2/MDB2/Driver/Manager/oci8.php:1.101 pear/MDB2/MDB2/Driver/Manager/oci8.php:1.102
--- pear/MDB2/MDB2/Driver/Manager/oci8.php:1.101 Sat Feb 9 02:52:24 2008
+++ pear/MDB2/MDB2/Driver/Manager/oci8.php Tue Feb 12 21:37:08 2008
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@pooteeweet.org> |
// +----------------------------------------------------------------------+
-// $Id: oci8.php,v 1.101 2008/02/09 02:52:24 afz Exp $
+// $Id: oci8.php,v 1.102 2008/02/12 21:37:08 quipo Exp $
require_once 'MDB2/Driver/Manager/Common.php';
@@ -213,8 +213,8 @@
return $db;
}
- $table_upperd = strtoupper($table);
- $index_name = $table_upperd . '_AI_PK';
+ $table_uppercase = strtoupper($table);
+ $index_name = $table_uppercase . '_AI_PK';
$definition = array(
'primary' => true,
'fields' => array($name => true),
@@ -243,7 +243,7 @@
'sequence for autoincrement PK could not be created', __FUNCTION__);
}
$sequence_name = $db->getSequenceName($table);
- $trigger_name = $db->quoteIdentifier($table_upperd . '_AI_PK', true);
+ $trigger_name = $db->quoteIdentifier($table_uppercase . '_AI_PK',
true);
$sequence_name_quoted = $db->quoteIdentifier($sequence_name, true);
$table = $db->quoteIdentifier($table, true);
$name = $db->quoteIdentifier($name, true);