Subject: | Terminating semicolon and LIMIT clause |
Hi,
I have noticed that DBD::Google does not work when terminating a SELECT statement with a semicolon, if a LIMIT clause is included in the query.
For example,
$dbh->prepare("SELECT URL FROM google WHERE q=$search LIMIT 970,10;");
produces "SQL ERROR: Bad limit clause!" in SQL::Parser because the terminating semicolon shows up in $limit_clause. Without the semicolon the query will succeed, however this is a violation of the SQL standard.
I would be glad if you could fix this error.
Thanks,
Hendrik