Review main Merged

42803[BUGFIX] DBAL: Fix quoting of single quotes in WHERE values for MSSQL

Morton Jonuschat CR +2 V +2 Easy +20 −4 updated 09/09/15, 10:11

Commit message

MSSQL escapes single quotes in values by doubling them. When parsing the
WHERE clause DBAL removed the escaping without performing the required
escaping of the values when compiling the query. This is fixed by adding
a special handling of MSSQL in _quoteWhereClause().

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2