Skip to content

Support MSSQL's prepared statements #13

@jeffkreeftmeijer

Description

@jeffkreeftmeijer

As reported via support (private Intercom link):

As you can see the SQL reported by MSSQL is performed using prepared statements, with the sanitisation applied the actual query being performed is removed and replaced with a question mark.

ActiveRecord seems to wrap all queries in prepare statements, which the sql_lexer can't handle right now, resulting in queries like this:

screen shot 2018-03-06 at 19 54 18

Also, here's how to set up MSSQL on your fancy Apple-Books, kids. 👴🏻

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed and unconfirmed bugs reported by us and customers.supportProblems or questions reported by customers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions