diff options
author | unknown <jani@hynda.mysql.fi> | 2008-02-18 16:47:00 +0200 |
---|---|---|
committer | unknown <jani@hynda.mysql.fi> | 2008-02-18 16:47:00 +0200 |
commit | 641bc9a45f1c7cdeca495f0941928a6195c3abfc (patch) | |
tree | f0c00b4674c6884d882c188a2c146c3bff15bdde /include | |
parent | ad144fa6e10f5e2c037716eaaa09dce8a50cd285 (diff) | |
download | mariadb-git-641bc9a45f1c7cdeca495f0941928a6195c3abfc.tar.gz |
Fixed a previous patch.
BitKeeper/etc/ignore:
added libmysqld/sql_profile.cc
client/mysqltest.c:
Use my_micro_time() instead of my_getsystime() for
faster execution.
include/config-win.h:
Moved a definition into a header file.
mysys/my_getsystime.c:
Use GetSystemTimeAsFileTime() instead of QueryPerformanceCounter()
for faster execution.
Diffstat (limited to 'include')
-rw-r--r-- | include/config-win.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/config-win.h b/include/config-win.h index e0558ca4564..246e4da76a9 100644 --- a/include/config-win.h +++ b/include/config-win.h @@ -257,9 +257,11 @@ inline double ulonglong2double(ulonglong value) #define tell(A) _telli64(A) #endif - #define STACK_DIRECTION -1 +/* Difference between GetSystemTimeAsFileTime() and now() */ +#define OFFSET_TO_EPOCH ULL(116444736000000000) + /* Optimized store functions for Intel x86 */ #ifndef _WIN64 |