cvs: php4 /ext/mysql php_mysql.c
| From: | Georg Richter | Date: | Sun, 24 Mar 2002 17:57:33 +0000 |
| Subject: | cvs: php4 /ext/mysql php_mysql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10657@lists.php.net to get a copy of this message | ||
georg Sun Mar 24 12:57:33 2002 EDT
Modified files:
/php4/ext/mysql php_mysql.c
Log:
changed prototype for mysql_real_escape_string
Index: php4/ext/mysql/php_mysql.c
diff -u php4/ext/mysql/php_mysql.c:1.121 php4/ext/mysql/php_mysql.c:1.122
--- php4/ext/mysql/php_mysql.c:1.121 Sun Mar 24 12:34:20 2002
+++ php4/ext/mysql/php_mysql.c Sun Mar 24 12:57:32 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_mysql.c,v 1.121 2002/03/24 17:34:20 zak Exp $ */
+/* $Id: php_mysql.c,v 1.122 2002/03/24 17:57:32 georg Exp $ */
/* TODO:
@@ -1509,7 +1509,8 @@
/* }}} */
/* {{{ proto string mysql_real_escape_string(string to_be_escaped, [int link_identifier])
- Escape string for mysql_query */
+ Escape special characters in a string for ise in a SQL statement, taking into account the
+ current charset of the connection */
PHP_FUNCTION(mysql_real_escape_string)
{
zval *mysql_link = NULL;