ID: 40834 Updated by: [EMAIL PROTECTED] Reported By: sevcik at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: any PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. "Pouíváte-li transakce, je nutné mysql_affected_rows() volat hned po dotazu INSERT, UPDATE nebo DELETE, nikoli a po potvrzení transakce." Previous Comments: ------------------------------------------------------------------------ [2007-03-16 11:47:52] sevcik at gmail dot com Description: ------------ There is confusing czech translation for mysql_affected_rows at http://cz.php.net/manual/cs/function.mysql-affected-rows.php Reproduce code: --------------- Go to http://cz.php.net/manual/cs/function.mysql-affected-rows.php There is a notice about transaction, which is wrong in czech translation. Transactions: If you are using transactions, you need to call mysql_affected_rows() after your INSERT, UPDATE, or DELETE query, not after the COMMIT. Expected result: ---------------- Expected czech translation: Poznámka: Používáte-li transakce, je nutné mysql_affected_rows() volat ihned po dotazu INSERT, UPDATE nebo DELETE, nikoli až po potvrzení transakce. Actual result: -------------- Current czech translation: Poznámka: Používáte-li transakce, je nutné mysql_affected_rows() volat až po dotazu INSERT, UPDATE nebo DELETE, nikoli hned po potvrzení transakce. Prepositions are used in wrong meaning and make people confused, if you have to call it after UPDATE or it' allowed to call it after COMMIT. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40834&edit=1
