Mailing List Archive

Database error
http://www.wikipedia.org/wiki/Image:Enigma.png results in the following error:

A database query syntax error has occurred. This could be because of an
illegal search query (see Searching Wikipedia), or it may indicate a bug in
the software. The last attempted database query was: SELECT
cur_id,cur_namespace,cur_title FROM cur,brokenlinksWHERE bl_from=cur_id AND
bl_to='Image:Enigma.png' LIMIT 10 from within function "Article::getContent".
MySQL returned error "1064: You have an error in your SQL syntax near
'=cur_id AND bl_to='Image:Enigma.png' LIMIT 10' at line 1".

It looks like the space before "WHERE" is missing.

phma
Re: Database error [ In reply to ]
On Sat, 2002-12-14 at 19:53, Pierre Abbat wrote:
[..]
> It looks like the space before "WHERE" is missing.

Oops -- I accidentally merged in some experimental code there! Lemme fix
it...

-- brion vibber (brion @ pobox.com)