ID: 46789 Updated by: [EMAIL PROTECTED] Reported By: tomas at matfyz dot cz -Status: Open +Status: Bogus Bug Type: Feature/Change Request PHP Version: 5.2.7 Assigned To: johannes New Comment:
The mysql extension won't get new features. Please use mysqli. Previous Comments: ------------------------------------------------------------------------ [2008-12-07 07:14:45] [EMAIL PROTECTED] johannes, are you planning do add this feature? ------------------------------------------------------------------------ [2008-12-06 23:42:09] tomas at matfyz dot cz Description: ------------ Please create function mysql_warning_count() which will return the warning count of the last mysql command. The information is available in the mysql OK packet since version 4.1, see http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol#OK_Packet - so there is no need to contact the server again for this purpose. Just make the information from the OK packet avaliable. Thanks! (Please note that the information on warning count cannot be taken from the mysql_info() due to mysql bugs #41283 and #41285 http://bugs.mysql.com/?id=41283 http://bugs.mysql.com/?id=41285 ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46789&edit=1