ID: 41402 Updated by: [EMAIL PROTECTED] Reported By: corinl at gmx dot de -Status: Open +Status: Assigned -Bug Type: MySQLi related +Bug Type: Feature/Change Request Operating System: debian 686 PHP Version: 5.2.2 -Assigned To: +Assigned To: georg
Previous Comments: ------------------------------------------------------------------------ [2007-05-15 16:19:12] corinl at gmx dot de Description: ------------ using $m->query('SHOW WARNINGS') changes $m->affected_rows, so it cannot be used when extending the class. also, affected_rows is write protected so it cannot be saved and restored after fetching the warnings. $m->get_warnings() does not seem to work yet. Reproduce code: --------------- see above Expected result: ---------------- please make $m->query('SHOW WARNINGS') not to change change $m->affected_rows. if this is not desired, please make get_warnings() functional. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41402&edit=1