Fix for the same bug as after the last import of a new adodb-version.

I wonder, if someday all will start to patch instead of overwriting and committing.
Anyway, this bugfix will be part of the next ADODB release. See:
http://phplens.com/lens/lensforum/msgs.php?id=9849
This commit is contained in:
Carsten Wolff 2004-07-11 11:38:59 +00:00
parent c1c5722f40
commit f2b7d8deda

View File

@ -803,7 +803,7 @@ class ADORecordSet_postgres64 extends ADORecordSet{
// cache types for blob decode check
for ($i=0, $max = $this->_numOfFields; $i < $max; $i++) {
if (pg_fieldtype($qid,$i) == 'bytea') {
$this->_blobArr[$i] = pg_fieldname($qid,$off);
$this->_blobArr[$i] = pg_fieldname($qid,$i);
}
}
}