Well, I am not sure if anyone has experienced the same problem, or if this
problem has been documented, but this is what I have noticed:

After one of my data table was full, I started to delete old records from
the table to allow new data to be inserted. Since then, the LIMIT function
stop working. I used to be able to do:

SELECT * FROM mytable LIMIT 0, 50

or 

DELETE FROM mytable LIMIT 0, 50

Now it doesn't work any more. I have to add a WHERE clause in order to make
the LIMIT working. For instance:

SELECT * FROM mytable WHERE id > 0 LIMIT 0, 50

or 

DELETE FROM mytable WHERE id > 0 LIMIT 0, 50

However, this is not a good query considering 15 million records in the
table. I have repeated the same problem on two systems with similar setting.

Thanks.

Jay Song


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to