summaryrefslogtreecommitdiff
path: root/sql/sql_profile.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2010-02-05 13:57:15 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2010-02-05 13:57:15 +0100
commite6cba2be35506bce8b0655f6081ef3508464bbf9 (patch)
treedcfb45d5728e52370a05bd82c29bc2a02fc6894b /sql/sql_profile.h
parenta45ea00b32a71ef5d123e102a7379f7d79a3dbbb (diff)
downloadmariadb-git-e6cba2be35506bce8b0655f6081ef3508464bbf9.tar.gz
Bug#50057: 'SHOW PROFILE CPU' port for Windows.
Patch contributed by Alex Budovski.
Diffstat (limited to 'sql/sql_profile.h')
-rw-r--r--sql/sql_profile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_profile.h b/sql/sql_profile.h
index bffe1cb576b..31e2f1a7c50 100644
--- a/sql/sql_profile.h
+++ b/sql/sql_profile.h
@@ -173,6 +173,8 @@ private:
char *status;
#ifdef HAVE_GETRUSAGE
struct rusage rusage;
+#elif defined(_WIN32)
+ FILETIME ftKernel, ftUser;
#endif
char *function;