For the positive-delta case since the row can't be negative the `GREATEST` is useless, so delete it. For the negative-delta case do the GREATEST before the subtraction so that it doesn't try to temporarily go negative. Bug: T315573 Change-Id: I0a27a57835048ee6a06266d377ed8f3f52ddf435 (cherry picked from commit 4017d2b6d60c6eb5c02ca48c8d8eeb74a18ba262) |
||
|---|---|---|
| .. | ||
| Hook | ||
| LinksUpdate | ||
| AtomicSectionUpdate.php | ||
| AutoCommitUpdate.php | ||
| CdnCacheUpdate.php | ||
| DataUpdate.php | ||
| DeferrableCallback.php | ||
| DeferrableUpdate.php | ||
| DeferredUpdates.php | ||
| DeferredUpdatesScope.php | ||
| DeferredUpdatesScopeMediaWikiStack.php | ||
| DeferredUpdatesScopeStack.php | ||
| EnqueueableDataUpdate.php | ||
| HtmlFileCacheUpdate.php | ||
| JobQueueEnqueueUpdate.php | ||
| MergeableUpdate.php | ||
| MessageCacheUpdate.php | ||
| MWCallableUpdate.php | ||
| RefreshSecondaryDataUpdate.php | ||
| SearchUpdate.php | ||
| SendPasswordResetEmailUpdate.php | ||
| SiteStatsUpdate.php | ||
| TransactionRoundAwareUpdate.php | ||
| TransactionRoundDefiningUpdate.php | ||
| UserEditCountInfo.php | ||
| UserEditCountUpdate.php | ||