summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorunknown <tsmith@siva.hindu.god>2007-03-06 15:36:07 -0700
committerunknown <tsmith@siva.hindu.god>2007-03-06 15:36:07 -0700
commit609970750bfb12db1edfabc41ddf0948eb5f15fa (patch)
tree768e5a10c01f3cb200c0a80d7976bef0121cd0cb /sql/sql_class.cc
parent4660b8f094940dba93fdfc2743c1fb1138de565e (diff)
parent5fdfea0023e9d6cda586568ab5ae216c4c81c31c (diff)
downloadmariadb-git-609970750bfb12db1edfabc41ddf0948eb5f15fa.tar.gz
Merge siva.hindu.god:/home/tsmith/m/bk/maint/mar05/50
into siva.hindu.god:/home/tsmith/m/bk/maint/50 libmysql/libmysql.c: Auto merged sql/sql_class.cc: Auto merged
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index e6106675159..2246f65d0e5 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -226,7 +226,9 @@ THD::THD()
#endif
client_capabilities= 0; // minimalistic client
net.last_error[0]=0; // If error on boot
+#ifdef HAVE_QUERY_CACHE
query_cache_init_query(&net); // If error on boot
+#endif
ull=0;
system_thread= cleanup_done= abort_on_warning= no_warnings_for_error= 0;
peer_port= 0; // For SHOW PROCESSLIST