svn: /phpdoc/en/trunk/reference/sqlite3/sqlite3/ escapestring.xml
| From: | Christoph Michael Becker | Date: | Mon, 27 Jun 2016 14:12:35 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/sqlite3/sqlite3/ escapestring.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14259@lists.php.net to get a copy of this message | ||
cmb Mon, 27 Jun 2016 14:12:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339508
Log:
Fix #62361: SQLite3::escapeString is not binary safe
Bug: https://bugs.php.net/62361 (Analyzed)
SQLite3::escapeString is not binary safe
Changed paths:
U phpdoc/en/trunk/reference/sqlite3/sqlite3/escapestring.xml
Modified: phpdoc/en/trunk/reference/sqlite3/sqlite3/escapestring.xml
===================================================================
--- phpdoc/en/trunk/reference/sqlite3/sqlite3/escapestring.xml 2016-06-27 11:57:06 UTC (rev 339507)
+++ phpdoc/en/trunk/reference/sqlite3/sqlite3/escapestring.xml 2016-06-27 14:12:35 UTC (rev 339508)
@@ -17,6 +17,11 @@
Returns a string that has been properly escaped for safe inclusion in an
SQL statement.
</para>
+ ¬e.not-bin-safe;
+ <para>
+ To properly handle BLOB fields which may contain NUL characters, use
+ <function>SQLite3Stmt::bindParam</function> instead.
+ </para>
</refsect1>
<refsect1 role="parameters">