Minor update for DB psql class include

This commit is contained in:
Clemens Schwaighofer
2018-03-20 14:10:06 +09:00
parent bf60e9fcbf
commit eef3a81be7

View File

@@ -41,7 +41,6 @@ class db_pgsql
{
private $last_error_query;
private $dbh;
// public $currval_query;
// METHOD: __construct
// PARAMS: none
@@ -227,7 +226,6 @@ class db_pgsql
}
$seq = (($schema) ? $schema.'.' : '').$table."_".$pk_name."_seq";
$q = "SELECT CURRVAL('$seq') AS insert_id";
// $this->currval_query = $q;
// I have to do manually or I overwrite the original insert internal vars ...
if ($q = $this->_db_query($q)) {
list($id) = $this->_db_fetch_array($q);