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

Fix a truncations warning

This commit is contained in:
Vladislav Vaintroub
2017-10-04 11:59:54 +00:00
parent 2c1067166d
commit 93fb586572

View File

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