From 6f3e8f1045381d78177b08b70d49c4e5fe619b89 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 20 Oct 2004 16:06:54 +0300 Subject: changed function name to prevent injection wrong code from 4.1 (WL#2133) mysql-test/r/rpl_rotate_logs.result: changed error message mysql-test/t/rpl_rotate_logs.test: changed error message sql/log_event.cc: changed function name to prevent injection wrong code from 4.1 sql/mysqld.cc: changed function name to prevent injection wrong code from 4.1 sql/protocol.cc: changed function name to prevent injection wrong code from 4.1 sql/protocol.h: changed function name to prevent injection wrong code from 4.1 sql/sql_class.h: changed function name to prevent injection wrong code from 4.1 sql/sql_parse.cc: changed function name to prevent injection wrong code from 4.1 sql/sql_repl.cc: changed function name to prevent injection wrong code from 4.1 --- sql/protocol.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sql/protocol.h') diff --git a/sql/protocol.h b/sql/protocol.h index 1a5896a3ae5..b65a666a5b1 100644 --- a/sql/protocol.h +++ b/sql/protocol.h @@ -172,7 +172,8 @@ public: }; void send_warning(THD *thd, uint sql_errno, const char *err=0); -void net_printf(THD *thd,uint sql_errno, ...); +void net_printf_error(THD *thd, uint sql_errno, ...); +void net_send_error(THD *thd, uint sql_errno=0, const char *err=0); void send_ok(THD *thd, ha_rows affected_rows=0L, ulonglong id=0L, const char *info=0); void send_eof(THD *thd, bool no_flush=0); -- cgit v1.2.1