CVS: phpweather/db pw_db_dba.php,1.3,1.4
Brought to you by:
iridium
From: Martin G. <gim...@us...> - 2002-03-25 21:20:01
|
Update of /cvsroot/phpweather/phpweather/db In directory usw-pr-cvs1:/tmp/cvs-serv4092/db Modified Files: pw_db_dba.php Log Message: More debug info needed! Index: pw_db_dba.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/db/pw_db_dba.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- pw_db_dba.php 20 Mar 2002 19:26:50 -0000 1.3 +++ pw_db_dba.php 25 Mar 2002 21:19:54 -0000 1.4 @@ -148,6 +148,7 @@ * @see update_metar() */ function insert_metar($station, $metar, $timestamp) { + $this->debug("Inserting this row into the DBA database:<br><code>$row</code>"); dba_insert($station, $metar . ':' . $timestamp, $this->link_id); } @@ -161,6 +162,7 @@ * @see insert_metar() */ function update_metar($station, $metar, $timestamp) { + $this->debug("Updating this row in the DBA database:<br><code>$row</code>"); dba_replace($station, $metar . ':' . $timestamp, $this->link_id); } |