Last modified: 2010-05-15 15:37:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T4792, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2792 - maintainance/rebuildrecentchanges.php dies with "Error: 1146 Table 'wikidb_test.cur' doesn't exist"
maintainance/rebuildrecentchanges.php dies with "Error: 1146 Table 'wikidb_te...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.5.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-11 02:47 UTC by Anders Kaseorg
Modified: 2010-05-15 15:37 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Anders Kaseorg 2005-07-11 02:47:47 UTC
The rebuildrecentchanges script is broken:

$ php rebuildrecentchanges.php
Loading from CUR table...
A database error has occurred
Query: INSERT INTO `recentchanges`
(rc_timestamp,rc_cur_time,rc_user,rc_user_text,rc_namespace,rc_title,rc_comment,rc_minor,rc_bot,rc_new,rc_cur_id,rc_this_oldid,rc_last_oldid,rc_type)
SELECT
cur_timestamp,cur_timestamp,cur_user,cur_user_text,cur_namespace,cur_title,cur_comment,cur_minor_edit,0,cur_is_new,cur_id,0,0,
IF(cur_is_new != 0, 1, 0)  FROM `cur`
Function: rebuildRecentChangesTablePass1
Error: 1146 Table 'wikidb_test.cur' doesn't exist (localhost)

Backtrace:
GlobalFunctions.php line 424 calls wfBacktrace()
Database.php line 395 calls wfDebugDieBacktrace()
Database.php line 345 calls DatabaseMysql::reportQueryError()
Database.php line 1221 calls DatabaseMysql::query()
rebuildrecentchanges.inc line 38 calls DatabaseMysql::insertSelect()
rebuildrecentchanges.php line 19 calls rebuildRecentChangesTablePass1()

Additionally, Special:Recentchanges is empty after the script fails.
Comment 1 Mike Valstar 2005-08-14 16:19:49 UTC
yeah same in 1.5b4

no more old table
Comment 2 Brion Vibber 2005-08-17 00:03:39 UTC
Hm, do we actually want/need such a script anyway? It can either be fixed up or just removed.
(But it should be easier to do on 1.5 than old schema anyway. :)
Comment 3 Brion Vibber 2005-09-17 07:23:47 UTC
Fixed on CVS HEAD and REL1_5, will be in next 1.5 release candidate (or final release if there is no other rc)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links