On Fri, 6 Jun 2003, Brion Vibber wrote:
On Fri, 6 Jun 2003, Youandme wrote: (on Polish wiki)
SELECT cur_id,cur_title FROM cur USE INDEX (cur_random) WHEREcur_namespace=0 AND cur_is_redirect=0 AND cur_random>0,172539821906
Ah, I do so love PHP's transparent support for localization. :P
I'll see if I can work around that...
I've switched from variable interpolation with an implicit float->string conversion to using the number_format() function, where I can explicitly set the decimal separator to "." to keep MySQL from choking when set in a locale with "," as the decimal separator.
Seems happy so far...
-- brion vibber (brion @ pobox.com)