HomePhabricator

Made SqlBagOStuff unset DB handles on connection errors

Authored by aaron.

Description

Made SqlBagOStuff unset DB handles on connection errors

  • A "gone away" error can trigger ping(), which can fail, triggering a full open(). If this fails (as it often will), mConn is false and the DatabaseBase object is not usable.

Bug: T103435
Change-Id: Id2aaed87d2642e73c7811076da908180ee5ab5a4

Details