delete from table limit @var; is not working

"qwerq qerq" <[email protected]>
Newsgroups gmane.comp.db.mysql.bugs
Message-ID <[email protected]>
The following command:
delete from table limit @var; 
says syntax error... why?
-- Server version	4.0.17-max-debug

Thank you all,
Sergey1

-- 
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.