Skip Menu |

This queue is for tickets about the SQL-Statement CPAN distribution.

Report information
The Basics
Id: 84045
Status: open
Priority: 0/
Queue: SQL-Statement

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Limit specification does not support placeholders
As the subject says. The parser barfs on \D here [1]. I am not sure if simply recognizing \? and popping bindvals off the stack is sufficient. Thoughts? [1] https://metacpan.org/source/REHSACK/SQL-Statement-1.402/lib/SQL/Parser.pm#L1471
The issue is deeper in the engine - see how the SQL::Statement::Limit instantiation and usage together with prepare method of SQL::Statement. You'll find out that it isn't trivial to support this wish.