includes/dbal.php
changeset 503 f205f4b201ed
parent 483 2cb1c8a6d3db
child 536 218a627eb53e
equal deleted inserted replaced
502:7084168f23af 503:f205f4b201ed
   492     $this->disable_errorhandler();
   492     $this->disable_errorhandler();
   493     return null;
   493     return null;
   494   }
   494   }
   495   
   495   
   496   function close() {
   496   function close() {
   497     mysql_close($this->_conn);
   497     @mysql_close($this->_conn);
   498     unset($this->_conn);
   498     unset($this->_conn);
   499   }
   499   }
   500   
   500   
   501   // phpBB DBAL compatibility
   501   // phpBB DBAL compatibility
   502   function sql_fetchrow($r = false)
   502   function sql_fetchrow($r = false)
  1242     $this->disable_errorhandler();
  1242     $this->disable_errorhandler();
  1243     return null;
  1243     return null;
  1244   }
  1244   }
  1245   
  1245   
  1246   function close() {
  1246   function close() {
  1247     pg_close($this->_conn);
  1247     @pg_close($this->_conn);
  1248     unset($this->_conn);
  1248     unset($this->_conn);
  1249   }
  1249   }
  1250   
  1250   
  1251   // phpBB DBAL compatibility
  1251   // phpBB DBAL compatibility
  1252   function sql_fetchrow($r = false)
  1252   function sql_fetchrow($r = false)