note 65230 added to function.mysqli-autocommit
| From: | will at phpfever dot com | Date: | Thu, 27 Apr 2006 08:22:35 +0000 |
| Subject: | note 65230 added to function.mysqli-autocommit | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-109829@lists.php.net to get a copy of this message | ||
If you are using the mysql command line tool, here are some helpful hints for the autocommit
feature:
1. To view the current autocommit setting, you can use this query: select @@autocommit; It will
return the current setting as 1 or 0 (on or off)
2. You can manage the default autocommit feature in you my.cnf or my.ini by adding the following
line: init_connect='set autocommit=0'. I'm pretty sure this isn't in the
documentation, but it does work.
Here are the current engines, as of MySQL 5.1dev that support transactions:
InnoDB
BerkeleyDB
Falcon
Falcon is very new, so beware using it on production systems.
----
Server IP: 64.71.164.2
Probable Submitter: 208.54.15.1
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.mysqli-autocommit.php
Edit -- http://master.php.net/note/edit/65230
Del: integrated -- http://master.php.net/note/delete/65230/integrated
Del: useless -- http://master.php.net/note/delete/65230/useless
Del: bad code -- http://master.php.net/note/delete/65230/bad+code
Del: spam -- http://master.php.net/note/delete/65230/spam
Del: non-english -- http://master.php.net/note/delete/65230/non-english
Del: in docs -- http://master.php.net/note/delete/65230/in+docs
Del: other reasons-- http://master.php.net/note/delete/65230
Reject -- http://master.php.net/note/reject/65230
Search -- http://master.php.net/manage/user-notes.php