summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-03-18 20:12:31 +0100
committerunknown <serg@serg.mylan>2005-03-18 20:12:31 +0100
commit4fd832bf9170b75354c810ad930f9cef342fb560 (patch)
tree7a5a7a350dd4b0a956685f8907a8cbed9849f68c /libmysql
parent914929cf4380d37e1f2f3a7e9efe7b6e5a77900f (diff)
parentd1f46a7d7e3b64621471b6a1f8e1278fd8d89c79 (diff)
downloadmariadb-git-4fd832bf9170b75354c810ad930f9cef342fb560.tar.gz
Merge bk-internal:/home/bk/mysql-5.0
into serg.mylan:/usr/home/serg/Abk/mysql-5.0 libmysql/libmysql.c: Auto merged sql/log_event.cc: Auto merged sql/sql_parse.cc: Auto merged
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 9746cb222fa..b7114c2574d 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -1575,14 +1575,14 @@ mysql_hex_string(char *to, const char *from, ulong length)
ulong STDCALL
mysql_escape_string(char *to,const char *from,ulong length)
{
- return escape_string_for_mysql(default_charset_info, to, from, length);
+ return escape_string_for_mysql(default_charset_info, to, 0, from, length);
}
ulong STDCALL
mysql_real_escape_string(MYSQL *mysql, char *to,const char *from,
ulong length)
{
- return escape_string_for_mysql(mysql->charset, to, from, length);
+ return escape_string_for_mysql(mysql->charset, to, 0, from, length);
}