summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2013-09-20 14:37:30 +0200
committerVladislav Vaintroub <wlad@montyprogram.com>2013-09-20 14:37:30 +0200
commitb0d98371b916a64b6c1c0213c1f0e63058b85e4a (patch)
treeac9dc91df4aa337d96909ccf5d43be22e9d96197 /plugin
parent28ec372744e6dbeab9ecae7a3a9a7ef23b0866d5 (diff)
downloadmariadb-git-b0d98371b916a64b6c1c0213c1f0e63058b85e4a.tar.gz
Update feedback plugin to recognize Windows 8.1 / Windows Server 2012 R2.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/feedback/utils.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugin/feedback/utils.cc b/plugin/feedback/utils.cc
index a841ac244d1..f6fcb3d2082 100644
--- a/plugin/feedback/utils.cc
+++ b/plugin/feedback/utils.cc
@@ -44,12 +44,16 @@ static const char *get_os_version_name(OSVERSIONINFOEX *ver)
DWORD major = ver->dwMajorVersion;
DWORD minor = ver->dwMinorVersion;
+ if (major == 6 && minor == 3)
+ {
+ return (ver->wProductType == VER_NT_WORKSTATION)?
+ "Windows 8.1":"Windows Server 2012 R2";
+ }
if (major == 6 && minor == 2)
{
return (ver->wProductType == VER_NT_WORKSTATION)?
"Windows 8":"Windows Server 2012";
}
-
if (major == 6 && minor == 1)
{
return (ver->wProductType == VER_NT_WORKSTATION)?