note 36730 deleted from function.mysqli-affected-rows by didou
| From: | didou@php.net | Date: | Mon, 20 Oct 2003 14:14:47 +0000 |
| Subject: | note 36730 deleted from function.mysqli-affected-rows by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58946@lists.php.net to get a copy of this message | ||
Note Submitter: PCedric@hotmail.com
----
WARNING when using mysql_affected_row() in a ("START TRANSACTION") - ("COMMIT"
or "ROLLBACK") mysql schema with InnoBD or BDB tables:
mysql_affected_row() return alway 0 because altered dataes are waiting for the "COMMIT"
sql command to be flushed in the database...and mysql_affected_row() report only flushed dataes.
mysql_affected_row() work fine on other table type like MyISAM because they don't implement the
("START TRANSACTION")-("COMMIT" or "ROLLBACK") mysql shema.