On cron runs, I get php errors in my dblog:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 0' at line 1 query: SHOW TABLES LIKE '' LIMIT 0, 0 in boost.module on line 1471.
It seems that $table is somehow lost in db_query_range(), which happens on this line in boost.module:
if (db_result(db_query_range("SHOW TABLES LIKE '%s'", $table))) {
Should it perhaps be like this?
if (db_result(db_query_range("SHOW TABLES LIKE '%s'", $table, 0, 1))) {
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | boost-549126.patch | 775 bytes | mikeytown2 |
Comments
Comment #1
Anonymous (not verified) commentedAhh, you cant use LIMIT statement with SHOW TABLES, so I think this is the answer:
drop _range
Comment #2
Anonymous (not verified) commentedComment #3
Anonymous (not verified) commentedComment #4
mikeytown2 commentedthanks for the bug report!
Comment #5
mikeytown2 commentedcommitted