Hi!

On Tue, Apr 7, 2009 at 6:06 AM, Eric Day <[email protected]> wrote:
> Does anyone see a reason to keep init_file or init_connect? As a

In MySQL, I use init_connect to ensure the session starts with autcommit off.

That said, I am just interested in starting a session with autocommit
off - I don't really care how that is achieved exactly, but I think
this is the only way in MySQL.

On another note, I wished there was a hook for disconnect too. At some
point I was interested maintaining per-user statistics and I could
find nothing better than polling the processlist to figure out when a
session ended (whereas it is easy to see when one started provided you
can control init_connect)

> Anyone feel strongly towards these things? Personally I feel this
> is something best kept in the client or added back in through some
> other plugin hook.

I agree a plugin would be better.

>
> Thanks!
> -Eric
>
> _______________________________________________
> Mailing list: https://launchpad.net/~drizzle-discuss
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~drizzle-discuss
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Roland Bouman
http://rpbouman.blogspot.com/

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to