diff options
author | unknown <bell@sanja.is.com.ua> | 2002-03-22 22:55:08 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2002-03-22 22:55:08 +0200 |
commit | 3d2ac023a0356f72c64487715364232a3bd11abd (patch) | |
tree | a691fc4031ec0bdda379decf4651d4789739c5e8 /sql/net_serv.cc | |
parent | 58e0b04efc2655cafd2ba46b75c6f59e99aa5459 (diff) | |
download | mariadb-git-3d2ac023a0356f72c64487715364232a3bd11abd.tar.gz |
added building without query cache
configure.in:
new configure parameter (now only for embeded server)
include/my_global.h:
now query cache always included in server, because of problrms with test suit
mysql-test/r/flush.result:
removed double testing
mysql-test/t/flush.test:
removed double testing
mysql-test/t/grant_cache.test:
now it is only memo about query cache
mysql-test/t/query_cache.test:
now it is only memo about query cache
Diffstat (limited to 'sql/net_serv.cc')
-rw-r--r-- | sql/net_serv.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/net_serv.cc b/sql/net_serv.cc index 811f36bd82e..9884adf9b46 100644 --- a/sql/net_serv.cc +++ b/sql/net_serv.cc @@ -329,10 +329,12 @@ net_real_write(NET *net,const char *packet,ulong len) my_bool net_blocking = vio_is_blocking(net->vio); DBUG_ENTER("net_real_write"); -#ifdef MYSQL_SERVER +#ifdef MYSQL_SERVER +#ifdef HAVE_QUERY_CACHE if (net->query_cache_query != 0) query_cache_insert(net, packet, len); #endif +#endif if (net->error == 2) DBUG_RETURN(-1); /* socket can't be used */ |