Bug #13686 | 1064 - You have an error in your SQL syntax; check the manual that corresponds | ||
---|---|---|---|
Submitted: | 2 Oct 2005 4:19 | Modified: | 2 Oct 2005 5:00 |
Reporter: | Cash Pawley | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.13-standard | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any |
[2 Oct 2005 4:19]
Cash Pawley
[2 Oct 2005 5:00]
MySQL Verification Team
We're sorry, but the bug system is not the appropriate forum for asking help on using MySQL products. Your problem is not the result of a bug. Support on using our products is available both free in our forums at http://forums.mysql.com and for a reasonable fee direct from our skilled support engineers at http://www.mysql.com/support/ Thank you for your interest in MySQL.
[2 Oct 2005 5:26]
Cash Pawley
The problem is with MySQL... Not the program I am using (according to the error message) !!
[2 Oct 2005 5:27]
Cash Pawley
I have checked the program on another server and it is working fine.. that is why I am trying to find out the problem with MySQL on this server.
[2 Oct 2005 9:22]
Valeriy Kravchuk
Please, reread the manual (http://dev.mysql.com/doc/mysql/en/select.html): "The LIMIT clause can be used to constrain the number of rows returned by the SELECT statement. LIMIT takes one or two numeric arguments, which must both be non-negative integer constants (except when using prepared statements). With two arguments, the first argument specifies the offset of the first row to return, and the second specifies the maximum number of rows to return. The offset of the initial row is 0 (not 1):" That words about non-negative constants... If oscommerce (good product, really) people do not read the manuals (of the database server they use) regularly - bad for them. Just inform them about the problem in their code.