PowerDNS/pdns — pull request #1745 by cmouse (2014-09-29 08:55:13+00:00)
Title: Use mysql_real_escape_string

The string in from is encoded to an escaped SQL string, taking into account the current character set of the connection. The result is placed in to and a terminating null byte is appended. Characters encoded are NUL (ASCII 0), “\n”, “\r”, “\”, “'”, “"”, and Control-Z (see Section 8.1, “Literal Values”).