FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

? is not correctly parsed around `SELECT`, `LIMIT` and `OFFSET` · Issue #498 · phpmyadmin/sql-parser · GitHub

? is not correctly parsed around SELECT, LIMIT and OFFSET #498

Description

This first query results in multiple An expression was expected. error, while query two has no issues.

This is valid through the PDO::prepare

SELECT ?
FROM uno
JOIN dos  ON dos.id = uno.id
LIMIT ? OFFSET ?
SELECT item
FROM uno
JOIN dos  ON dos.id = uno.id
LIMIT 10 OFFSET 5

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL