summaryrefslogtreecommitdiff
path: root/sql/net_serv.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-09-13 11:35:29 +0300
committermonty@mashka.mysql.fi <>2003-09-13 11:35:29 +0300
commitf300e3a164285c76a97b9ae6808d7cd555b6c176 (patch)
tree9c744cbdbd301249f0686bf0618b5f55b26d7a32 /sql/net_serv.cc
parentefce59fc3fcacf94c25a9648df03fda5e0a94b87 (diff)
downloadmariadb-git-f300e3a164285c76a97b9ae6808d7cd555b6c176.tar.gz
Remove 'extern' references from .cc files
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r--sql/net_serv.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc
index d39fca595ac..bc9f6140065 100644
--- a/sql/net_serv.cc
+++ b/sql/net_serv.cc
@@ -88,10 +88,15 @@ void sql_print_error(const char *format,...);
#ifdef MYSQL_SERVER
#define USE_QUERY_CACHE
+/*
+ The following variables/functions should really not be declared
+ extern, but as it's hard to include mysql_priv.h here, we have to
+ live with this for a while.
+*/
extern uint test_flags;
-extern void query_cache_insert(NET *net, const char *packet, ulong length);
extern ulong bytes_sent, bytes_received, net_big_packet_count;
extern pthread_mutex_t LOCK_bytes_sent , LOCK_bytes_received;
+extern void query_cache_insert(NET *net, const char *packet, ulong length);
#else
#undef statistic_add
#undef statistic_increment