summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorpem@mysql.comhem.se <>2004-05-06 19:55:12 +0200
committerpem@mysql.comhem.se <>2004-05-06 19:55:12 +0200
commitd02d10591698244c4575323cade4ec15939521e5 (patch)
tree125d3ae1ebe314b07915ef4518ed9cd47dde7444 /sql/sql_cache.cc
parent57feb6625a66aa238b741d419b89b94e46f456b0 (diff)
downloadmariadb-git-d02d10591698244c4575323cade4ec15939521e5.tar.gz
Fixed (portability) bug in handler.h, and tried to silence cast warnings on some platforms.
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index 359150cf716..d7d4219c7fd 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -661,7 +661,7 @@ void query_cache_end_of_result(THD *thd)
if (thd->net.query_cache_query != 0) // Quick check on unlocked structure
{
#ifdef EMBEDDED_LIBRARY
- query_cache_insert(&thd->net, (byte*)thd,
+ query_cache_insert(&thd->net, (char*)thd,
emb_count_querycache_size(thd));
#endif
STRUCT_LOCK(&query_cache.structure_guard_mutex);