From: Lo?c C. <lo...@us...> - 2001-04-10 15:00:09
|
Update of /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/database In directory usw-pr-cvs1:/tmp/cvs-serv13946/chat/lib/database Modified Files: odbc.lib.php3 oci8.lib.php3 Log Message: Remove some trailing whitespaces Index: odbc.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/database/odbc.lib.php3,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** odbc.lib.php3 2001/03/29 22:52:17 1.1 --- odbc.lib.php3 2001/04/10 15:00:06 1.2 *************** *** 217,221 **** } // end of the 'connect()' method ! /** * Do run a database query --- 217,221 ---- } // end of the 'connect()' method ! /** * Do run a database query *************** *** 247,256 **** // $this->queryId = odbc_prepare($this->linkId, $queryString); // $this->queryOk = odbc_execute($this->queryId); ! $this->queryId = @odbc_exec($this->linkId, $queryString); $this->currentRow = 0; odbc_binmode($this->queryId, 1); odbc_longreadlen($this->queryId, 4096); ! if (!$this->queryId) { --- 247,256 ---- // $this->queryId = odbc_prepare($this->linkId, $queryString); // $this->queryOk = odbc_execute($this->queryId); ! $this->queryId = @odbc_exec($this->linkId, $queryString); $this->currentRow = 0; odbc_binmode($this->queryId, 1); odbc_longreadlen($this->queryId, 4096); ! if (!$this->queryId) { *************** *** 332,336 **** } $count = odbc_num_fields($id); ! for ($i = 1; $i <= $count; $i++) { --- 332,336 ---- } $count = odbc_num_fields($id); ! for ($i = 1; $i <= $count; $i++) { *************** *** 343,351 **** $res[$i]['flags'] = ''; // any optional flags to report? } ! odbc_free_result($id); return $res; } // end of the 'metadata()' method ! /** --- 343,351 ---- $res[$i]['flags'] = ''; // any optional flags to report? } ! odbc_free_result($id); return $res; } // end of the 'metadata()' method ! /** Index: oci8.lib.php3 =================================================================== RCS file: /cvsroot/phpmychat/phpMyChat-0.15/chat/lib/database/oci8.lib.php3,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** oci8.lib.php3 2001/03/29 22:52:17 1.1 --- oci8.lib.php3 2001/04/10 15:00:06 1.2 *************** *** 231,235 **** return 0; } ! return $this->queryId; } // end of the 'query()' method --- 231,235 ---- return 0; } ! return $this->queryId; } // end of the 'query()' method |