diff options
author | bell@sanja.is.com.ua <> | 2004-10-20 16:06:54 +0300 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-10-20 16:06:54 +0300 |
commit | d409547de420ae0f928dfb5f37f8a794efc05b7d (patch) | |
tree | e563023e47dd6c0ae62a78d011b993bef1d34e85 /sql/protocol.h | |
parent | 4714a6e7448672b93313deddfa67ad83f2084d01 (diff) | |
download | mariadb-git-d409547de420ae0f928dfb5f37f8a794efc05b7d.tar.gz |
changed function name to prevent injection wrong code from 4.1 (WL#2133)
Diffstat (limited to 'sql/protocol.h')
-rw-r--r-- | sql/protocol.h | 3 |
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); |