mirror of
https://github.com/MariaDB/server.git
synced 2025-03-24 16:08:42 +01:00
Windows : fix warning about potential division by 0
The warning brought by code analysis, unsafe arithmetic in timer related code
This commit is contained in:
parent
fbad1b1150
commit
f33e8e4a95
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
#define OFFSET_TO_EPOC 116444736000000000LL
|
||||
static ulonglong query_performance_frequency;
|
||||
static ulonglong query_performance_frequency=1;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LINUX_UNISTD_H
|
||||
|
|
Loading…
Add table
Reference in a new issue