summaryrefslogtreecommitdiff
path: root/sql/protocol.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-10-20 16:06:54 +0300
committerunknown <bell@sanja.is.com.ua>2004-10-20 16:06:54 +0300
commite3b559938c1a739add9ad1dd2e5c62b8e10ade96 (patch)
treee563023e47dd6c0ae62a78d011b993bef1d34e85 /sql/protocol.h
parent066c90563a9fd6151461a5d54d879079acffe279 (diff)
downloadmariadb-git-e3b559938c1a739add9ad1dd2e5c62b8e10ade96.tar.gz
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
Diffstat (limited to 'sql/protocol.h')
-rw-r--r--sql/protocol.h3
1 files changed, 2 insertions, 1 deletions
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);