DB sqlite -> escapesimple -> PATCH (2)
| From: | Matt Eaton | Date: | Wed, 10 Mar 2004 22:10:04 +0000 |
| Subject: | DB sqlite -> escapesimple -> PATCH (2) | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-26268@lists.php.net to get a copy of this message | ||
The patch (as an attachment) appears to have been dropped. Here it is in
case it didn't get through:
--- sqlite.php.r161 2004-03-10 16:01:26.000000000 -0500
+++ sqlite.php 2004-03-10 16:08:08.000000000 -0500
@@ -601,6 +601,22 @@
}
// }}}
+ // {{{ escapeSimple()
+
+ /**
+ * Escape a string according to the current DBMS's standards
+ *
+ * @param string $str the string to be escaped
+ *
+ * @return string the escaped string
+ *
+ * @internal
+ */
+ function escapeSimple($str) {
+ return @sqlite_escape_string($str);
+ }
+
+ // }}}
// {{{ modifyLimitQuery()
function modifyLimitQuery($query, $from, $count)