[pLog-svn] r3486 - plog/trunk/class/database/pdb/drivers
mark at devel.lifetype.net
mark at devel.lifetype.net
Mon May 29 06:41:55 GMT 2006
Author: mark
Date: 2006-05-29 06:41:54 +0000 (Mon, 29 May 2006)
New Revision: 3486
Modified:
plog/trunk/class/database/pdb/drivers/pdbmysqlrecordset.class.php
Log:
Add @ in front of mysql_free_results to aviod warnings ...
Modified: plog/trunk/class/database/pdb/drivers/pdbmysqlrecordset.class.php
===================================================================
--- plog/trunk/class/database/pdb/drivers/pdbmysqlrecordset.class.php 2006-05-29 06:33:11 UTC (rev 3485)
+++ plog/trunk/class/database/pdb/drivers/pdbmysqlrecordset.class.php 2006-05-29 06:41:54 UTC (rev 3486)
@@ -1,39 +1,39 @@
-<?php
-
- include_once( PLOG_CLASS_PATH."class/database/pdb/drivers/pdbrecordset.class.php" );
+<?php
+ include_once( PLOG_CLASS_PATH."class/database/pdb/drivers/pdbrecordset.class.php" );
+
/**
* \ingroup PDb
*
* MySQL record sets.
*
* @see PDbRecordSet
- */
- class PdbMySQLRecordSet extends PdbRecordSet
- {
+ */
+ class PdbMySQLRecordSet extends PdbRecordSet
+ {
/**
* @see PDbRecordSet
- */
- function PdbMySQLRecordSet( $dbRes = null )
- {
- $this->PdbRecordSet( $dbRes );
- }
+ */
+ function PdbMySQLRecordSet( $dbRes = null )
+ {
+ $this->PdbRecordSet( $dbRes );
+ }
/**
* @see PDbRecordSet::FetchRow()
- */
- function FetchRow()
- {
- return( mysql_fetch_assoc( $this->_dbRes ));
- }
+ */
+ function FetchRow()
+ {
+ return( mysql_fetch_assoc( $this->_dbRes ));
+ }
/**
* @see PDbRecordSet::RecordCount()
- */
- function RecordCount()
- {
- return( mysql_num_rows( $this->_dbRes ));
+ */
+ function RecordCount()
+ {
+ return( mysql_num_rows( $this->_dbRes ));
}
/**
@@ -41,7 +41,7 @@
*/
function Close()
{
- return( mysql_free_result( $this->_dbRes ));
- }
- }
+ return( @mysql_free_result( $this->_dbRes ));
+ }
+ }
?>
\ No newline at end of file
More information about the pLog-svn
mailing list