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!