Comment 1 for bug 604821

Revision history for this message
wouter bolsterlee (wbolster) wrote :

 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.