rdbms: rename and clarify getTransactionLagStatus method regarding begin()
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 2 Apr 2018 21:39:33 +0000 (14:39 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 2 Apr 2018 21:46:51 +0000 (14:46 -0700)
commit92972a59cdc19cf044fe4c302036871892cbc10a
tree8e045009d4ec03da521f863467e73112137b5b49
parentc3f084d44bab25a16fa110023859db81bce39100
rdbms: rename and clarify getTransactionLagStatus method regarding begin()

Make sure any value from the last transaction is cleared and not used.

For sanity, make getLagFromPtHeartbeat() use this regardless of the age of
the transaction unless it returns null.

Change-Id: I52df6147f99736ad1a389ae70d347ae968e50c7f
includes/libs/rdbms/database/Database.php
includes/libs/rdbms/database/DatabaseMysqlBase.php