note 50577 added to function.mysqli-commit

From: Date: Thu, 03 Mar 2005 21:05:44 +0000
Subject: note 50577 added to function.mysqli-commit
Groups: php.notes 
Request: Send a blank email to php-notes+get-85889@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.mysqli-commit.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50577 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50577&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50577&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50577&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50577&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50577&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50577&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#85889) next »