1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed (portability) bug in handler.h, and tried to silence cast warnings on some platforms.

This commit is contained in:
pem@mysql.comhem.se
2004-05-06 19:55:12 +02:00
parent 57feb6625a
commit d02d105916
7 changed files with 18 additions and 11 deletions

View File

@ -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);