|
From: Lo?c C. <lo...@us...> - 2001-04-15 18:54:56
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/database
In directory usw-pr-cvs1:/tmp/cvs-serv12726/chat/lib/database
Modified Files:
odbc.lib.php3
Log Message:
odbc_num_rows seems to be usable to obtain the number of affected rows by a non 'SELECT' statement
Index: odbc.lib.php3
===================================================================
RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/database/odbc.lib.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** odbc.lib.php3 2001/04/10 15:00:06 1.2
--- odbc.lib.php3 2001/04/15 18:54:53 1.3
***************
*** 436,440 ****
function affectedRows()
{
! return numRows();
} // end of the 'affectedRows()' method
--- 436,440 ----
function affectedRows()
{
! return @odbc_num_rows($this->queryId);
} // end of the 'affectedRows()' method
|