Kevin Burton wrote:


Any idea whats going on and how I could fix this?

This seems like a bug in the SQL parser.  The LIMIT is only ignored in this one 
situation.

If I just add a:

UNION
(SELECT * FROM FOO LIMIT 0)

To the query will work correctly.

This might be an acceptable workaround....

Kevin

--

Use Rojo (RSS/Atom aggregator)! - visit http://rojo.com. See irc.freenode.net #rojo if you want to chat.

Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html

  Kevin A. Burton, Location - San Francisco, CA
     AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to