Mailing List Archive

Urgent correction! (Re: [Wikipedia-l] have we lost three months?)
On ĵaŭ, 2002-05-09 at 18:27, Brion L. VIBBER wrote:
> On ĵaŭ, 2002-05-09 at 17:08, Jimmy Wales wrote:
> > I just turned on page caching. Maybe it has bugs?
>
> With caching disabled, the page cache hasn't been updated in three
> months. :)
>
> Just clear all the cached pages:
>
> UPDATE cur SET cur_cache=""
>
> should do it. (Double-check that before you run it, obviously.)

CORRECTION: DO NOT PEFORM THE ABOVE QUERY!!!!!!!!!! It would reset the
last edited time on every page to the current date!

Instead try:

UPDATE cur SET cur_cache="",cur_timestamp=cur_timestamp

I'm beginning to think those auto-updating timestamp fields aren't such
a good idea.

-- brion vibber (brion @ pobox.com)