Fixed getReaderIndex() handling of $group
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 15 Jan 2014 18:20:52 +0000 (10:20 -0800)
committerTim Starling <tstarling@wikimedia.org>
Thu, 30 Jan 2014 22:36:26 +0000 (22:36 +0000)
commit9190427ae2444102d82ed0d622617c54eb43fa74
tree83f8667b75006ae5a370477149b7f780c23b3aa3
parentc6df6a527cf84a2df7a85a25266cecb2e6ec0694
Fixed getReaderIndex() handling of $group

* Connections for a group should not override the generic connection handle.
  That can cause special DBs to be reused for general queries more so than
  optimal.
* Also made the code use ProfileSection to clean it up a bit.

Change-Id: Ia8973133a93410bd906d8ad52a711a7d810df2f6
includes/db/LoadBalancer.php