From 93fb5865729993671de11f21eaa1672696d7a5d2 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Wed, 4 Oct 2017 11:59:54 +0000 Subject: [PATCH] Fix a truncations warning --- sql/sql_cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_cache.h b/sql/sql_cache.h index a6592e9b782..6fc083ee331 100644 --- a/sql/sql_cache.h +++ b/sql/sql_cache.h @@ -186,7 +186,7 @@ struct Query_cache_query inline void set_results_ready() { ready= 1; } inline bool is_results_ready() { return ready; } inline void increment_hits() { hit_count++; } - inline ulong hits() { return hit_count; } + inline ulonglong hits() { return hit_count; } void lock_writing(); void lock_reading(); bool try_lock_writing();