Trims watchdog to the configured row limit, oldest first.
The pivot-then-delete shape is DblogHooks::cron()'s: counting the most recent N rows survives
a sequence that does not start at 1 and rows deleted underneath it, which wid < max - limit
does not. Under the limit it issues one statement and writes nothing.
Trims watchdog to the configured row limit, oldest first.
The pivot-then-delete shape is
DblogHooks::cron()'s: counting the most recent N rows survives a sequence that does not start at 1 and rows deleted underneath it, whichwid < max - limitdoes not. Under the limit it issues one statement and writes nothing.