mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
In table cache code, fix casts from longlong to long for
'version' variables. The warnings occur on Windows build, yet they are also are valid on 32bit Unix. Fix is to consistently use 64bit integer on all platforms.
This commit is contained in:
@@ -2173,7 +2173,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
|
||||
|
||||
length= my_snprintf(buff, buff_len - 1,
|
||||
"Uptime: %lu Threads: %d Questions: %lu "
|
||||
"Slow queries: %lu Opens: %lu Flush tables: %lu "
|
||||
"Slow queries: %lu Opens: %lu Flush tables: %lld "
|
||||
"Open tables: %u Queries per second avg: %u.%03u",
|
||||
uptime,
|
||||
(int) thread_count, (ulong) thd->query_id,
|
||||
|
Reference in New Issue
Block a user