https://bugzilla.wikimedia.org/show_bug.cgi?id=17028





--- Comment #7 from Leons Petrazickis <[email protected]>  2009-01-14 
23:26:00 UTC ---
That's already being done. I'm not referring to doQuery() $options. Those are
handled transparently.

The problem is the slew of Special pages that build a SQL statement by hand and
then call the raw query() method. If you were to pass a USE INDEX clause to
those, it would crash MySQL too. They use hard-coded LIMIT stuff.

In the long run, those pages will all be migrated to use the Database API. In
the short run, they can be fixed by just using the limitResult() bit of the
Database API.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to