Skip to content
Snippets Groups Projects
Commit fa978390 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch 13180 by chx: renamed check_query() to db_escape_string() and implemtented it properly per database backend.

  Read the manual for pg_escape_string:  "Use of this function is recommended instead of addslashes()." Or read sqlite_escape_string: "addslashes() should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data."
parent dc32e54f
No related branches found
No related tags found
Loading
Showing
with 88 additions and 73 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment