cvs: pear /MDB2/MDB2/Driver ibase.php pgsql.php

From: Date: Fri, 20 Oct 2006 15:15:54 +0000
Subject: cvs: pear /MDB2/MDB2/Driver ibase.php pgsql.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-42681@lists.php.net to get a copy of this message
lsmith Fri Oct 20 15:15:54 2006 UTC Modified files: /pear/MDB2/MDB2/Driver ibase.php pgsql.php Log: - removed incorrect use of quoteIdentifier in lastInsertID() http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/ibase.php?r1=1.192&r2=1.193&diff_format=u Index: pear/MDB2/MDB2/Driver/ibase.php diff -u pear/MDB2/MDB2/Driver/ibase.php:1.192 pear/MDB2/MDB2/Driver/ibase.php:1.193 --- pear/MDB2/MDB2/Driver/ibase.php:1.192 Fri Oct 20 15:05:48 2006 +++ pear/MDB2/MDB2/Driver/ibase.php Fri Oct 20 15:15:54 2006 @@ -43,7 +43,7 @@ // | Author: Lorenzo Alberton <l.alberton@quipo.it> | // +----------------------------------------------------------------------+ // -// $Id: ibase.php,v 1.192 2006/10/20 15:05:48 quipo Exp $ +// $Id: ibase.php,v 1.193 2006/10/20 15:15:54 lsmith Exp $ /** * MDB2 FireBird/InterBase driver @@ -937,7 +937,7 @@ function lastInsertID($table = null, $field = null) { $seq = $table.(empty($field) ? '' : '_'.$field); - $sequence_name = $this->quoteIdentifier($this->getSequenceName($seq), true); + $sequence_name = $this->getSequenceName($seq); $query = "SELECT RDB\$GENERATOR_ID FROM RDB\$GENERATORS WHERE RDB\$GENERATOR_NAME='$sequence_name'"; http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/pgsql.php?r1=1.161&r2=1.162&diff_format=u Index: pear/MDB2/MDB2/Driver/pgsql.php diff -u pear/MDB2/MDB2/Driver/pgsql.php:1.161 pear/MDB2/MDB2/Driver/pgsql.php:1.162 --- pear/MDB2/MDB2/Driver/pgsql.php:1.161 Fri Oct 20 14:22:10 2006 +++ pear/MDB2/MDB2/Driver/pgsql.php Fri Oct 20 15:15:54 2006 @@ -43,7 +43,7 @@ // | Author: Paul Cooper <pgc@ucecom.com> | // +----------------------------------------------------------------------+ // -// $Id: pgsql.php,v 1.161 2006/10/20 14:22:10 lsmith Exp $ +// $Id: pgsql.php,v 1.162 2006/10/20 15:15:54 lsmith Exp $ /** * MDB2 PostGreSQL driver @@ -988,7 +988,7 @@ function lastInsertID($table = null, $field = null) { $seq = $table.(empty($field) ? '' : '_'.$field); - $sequence_name = $this->quoteIdentifier($this->getSequenceName($seq), true); + $sequence_name = $this->getSequenceName($seq); return $this->queryOne("SELECT currval('$sequence_name')", 'integer'); }

« previous php.pear.cvs (#42681) next »