note 50577 deleted from function.mysqli-commit by hholzgra
| From: | hholzgra@php.net | Date: | Sat, 29 Sep 2007 10:30:08 +0000 |
| Subject: | note 50577 deleted from function.mysqli-commit by hholzgra | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-130910@lists.php.net to get a copy of this message | ||
Note Submitter: mbedwards FROM gmail PERIOD com
----
In PHP versions < 5.1cvs (as of date of this posting) this function actually returns FALSE on
success and TRUE on error. This is because it was coded as a straight pass-thru wrapper to the MySQL
api from MySQL a.b. and the mysql_commit() function in that api returns 0 on success and non-zero on
failure.
Keep this in mind if you are checking the return value of this function.