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

Committed
aaronJun 23 2015, 7:28 PM
Parents
rMWf31b5d3489c9: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
ChangeId
Id2aaed87d2642e73c7811076da908180ee5ab5a4