On Thu, May 8, 2008 at 11:00 PM, Andrew Garrett andrew@epstone.net wrote:
Executive summary: resetState() is called from saveToCache if we don't have fresh data from the master (i.e. if $this->mFromMaster is not true). Unfortunately, if no row is found, that variable is not set to true, whereas it is if a row IS found.
Forgot to mention: As saveToCache() also calls loadState() to get fresh data if it's stale, we end up with an infinite loop if browsing with an unmerged account. Quite unfun.