summaryrefslogtreecommitdiff
path: root/sql/protocol.h
diff options
context:
space:
mode:
authorkostja@bodhi.(none) <>2007-11-01 00:10:58 +0300
committerkostja@bodhi.(none) <>2007-11-01 00:10:58 +0300
commitc0bb7f8682cd11ad9fc9915781c8447ac2818094 (patch)
tree69747828df5a86c88950f6d9b608d5d385d69c0e /sql/protocol.h
parent230604f33c12b760694473af51ffae59fd4c9536 (diff)
downloadmariadb-git-c0bb7f8682cd11ad9fc9915781c8447ac2818094.tar.gz
Remove net_printf_error(). Do not talk to network directly in
check_user()/check_connection()/check_for_max_user_connections(). This is a pre-requisite patch for the fix for Bug#12713 "Error in a stored function called from a SELECT doesn't cause ROLLBACK of statem" Implement review comments.
Diffstat (limited to 'sql/protocol.h')
-rw-r--r--sql/protocol.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/protocol.h b/sql/protocol.h
index 46a2b6d36b6..53584326f03 100644
--- a/sql/protocol.h
+++ b/sql/protocol.h
@@ -172,7 +172,6 @@ public:
};
void send_warning(THD *thd, uint sql_errno, const char *err=0);
-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);