← Back to team overview

anewt-developers team mailing list archive

[Bug 604821] Re: Do not call connect() for each executed query

 

 1789 Wouter Bolsterlee 2010-10-02
      [database] Don't try to connect before each query
      
      Avoid checking for a valid connection for each executed
      query. It adds extra server roundtrips for at least the
      MySQL backends and does not work reliably anyway.
      
      This also means that disconnected connections do not
      automatically try to (re)connect anymore, but relying on
      this was bad practice and couldn't possibly work reliably
      with transactions anyway.


** Changed in: anewt
       Status: Triaged => In Progress

** Changed in: anewt
     Assignee: (unassigned) => Wouter Bolsterlee (uws) (uws)

** Changed in: anewt
       Status: In Progress => Fix Released

-- 
Do not call connect() for each executed query
https://bugs.launchpad.net/bugs/604821
You received this bug notification because you are a member of Anewt
developers, which is subscribed to Anewt.



References