← Back to team overview

maria-developers team mailing list archive

Re: what can go wrong with this code?

 

On Fri, 4 Jun 2010 10:03:08 -0700, MARK CALLAGHAN <mdcallag@xxxxxxxxx> wrote:
> >From dispatch_command() in sql_parse.cc net_end_statement() is called after
> ha_autocommit_or_rollback() but before close_thread_tables(). What can go
> wrong in the call to close_thread_tables() after the response to the client?
> Commit or rollback was done before a response was sent to the client.

One thing this means is that you have to do stupid things managing
memory with BLOBS... but that's just excessive memory usage rather than errors.

-- 
Stewart Smith



References