|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-07-11 21:30 UTC] canipe_chris at yahoo dot com
Description: ------------ Using autocommit(FALSE) on a mysqli object does not turn autocommit off. There is more information at the URL listed under "Reproduce code." Reproduce code: --------------- http://www.phpfreaks.com/forums/index.php/topic,99562.msg392129.html#msg392129 Expected result: ---------------- I expect the result to be "Autocommit is 1 Autocommit is 0". Actual result: -------------- The actual result is "Autocommit is 1 Autocommit is 1". PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 18:00:01 2025 UTC |
Tony, I do not have a Sun machine at home, and I am unable to make this request at my place of work at the moment. For now, I'll use the work-around of mysqli->query('set autocommit = 0'). I was fairly certain this wasn't a bug since it worked in Windows; however, my search for why this was happening turned up empty handed. Is there anything in the php.ini, my.cnf, or configure that might affect autocommit, or does mysqli work "out of the box"? Thanks for your time.