Mailing List Archive

Mysql error when searching for "or gatter"
If I search for "or gatter" on http://wiki.mikrocontroller.net, I get
the following mysql error:

1064: You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use
near 'OR (MATCH (si_title) AGAINST ('gatter')) ) AND cur_namespace IN
Re: Mysql error when searching for "or gatter" [ In reply to ]
Andreas Schwarz wrote:

> If I search for "or gatter" on http://wiki.mikrocontroller.net, I get
> the following mysql error:
>
> 1064: You have an error in your SQL syntax. Check the manual that
> corresponds to your MySQL server version for the right syntax to use
> near 'OR (MATCH (si_title) AGAINST ('gatter')) ) AND cur_namespace IN

You've forgotten to tell us your full SQL statement.
Re: Mysql error when searching for "or gatter" [ In reply to ]
Timwi wrote:

> Andreas Schwarz wrote:
>
>> If I search for "or gatter" on http://wiki.mikrocontroller.net, I get
>> the following mysql error:
>>
>> 1064: You have an error in your SQL syntax. Check the manual that
>> corresponds to your MySQL server version for the right syntax to use
>> near 'OR (MATCH (si_title) AGAINST ('gatter')) ) AND cur_namespace IN
>
> You've forgotten to tell us your full SQL statement.

Oh, sorry -- you're talking about the Search function of MediaWiki. I'm
stupid. Please ignore me.