Skip to content

Query parameter with wrong name does not trigger an error #709

@olavloite

Description

@olavloite

If a query with a query parameter like this is executed:

select *
from my_table
where id=@my_id

And the application supplies a query parameter value for a parameter with name id instead of my_id, the query is executed without any errors, and the value for the parameter my_id is null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions