Bug #1007 AUTOCOMMIT as global variable
| Submitted: | 6 Aug 2003 22:36 | Modified: | 8 Dec 2003 4:55 |
|---|---|---|---|
| Reporter: | [ name withheld ] | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server | Severity: | S4 (Feature request) |
| Version: | 4.1 alpha | OS: | Any (any) |
| Assigned to: | Sergei Glukhov | CPU Architecture: | Any |
[6 Aug 2003 22:36]
[ name withheld ]
[7 Aug 2003 7:30]
Guilhem Bichot
An option --init-connect is presently being added to MySQl 4.1 (it should be in 4.1.1): with this you will be able to put init-connect="SET AUTOCOMMIT=0" in your my.cnf file. The commands in 'init_connect' are executed for every created connection (it's a way to add a "preamble" to all connections). This option can be set on the fly (SET GLOBAL init_connect=...). Gluh: this bug report is assigned to you. When you have finished adding the init-connect option, could you please add a SET AUTOCOMMIT=0 to init_connect-master.opt, and see if this works (just do a SELECT @@AUTOCOMMIT in the init_connect.test), then close this bug report? Thank you!
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.