/*
* Parent class of all ADODB objects.
*
- * $Id: ADODB_base.php,v 1.23 2007/12/12 04:11:10 xzilla Exp $
+ * $Id: ADODB_base.php,v 1.24 2008/02/20 20:43:10 ioguix Exp $
*/
include_once('./libraries/errorhandler.inc.php');
reset($conditions);
- if (!empty($schema))
+ if (!empty($schema)) {
+ $this->fieldClean($schema);
$schema = "\"{$schema}\".";
+ }
// Build clause
$sql = '';
* A class that implements the DB interface for Postgres
* Note: This class uses ADODB and returns RecordSets.
*
- * $Id: Postgres.php,v 1.319 2008/01/19 13:46:15 ioguix Exp $
+ * $Id: Postgres.php,v 1.320 2008/02/20 20:43:09 ioguix Exp $
*/
// @@@ THOUGHT: What about inherits? ie. use of ONLY???
return -1;
}
- $status = $this->delete($table, $key, $this->schema());
+ $status = $this->delete($table, $key, $this->_schema);
if ($status != 0 || $this->conn->Affected_Rows() != 1) {
$this->rollbackTransaction();
return -2;