diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-09-20 14:37:30 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-09-20 14:37:30 +0200 |
commit | b0d98371b916a64b6c1c0213c1f0e63058b85e4a (patch) | |
tree | ac9dc91df4aa337d96909ccf5d43be22e9d96197 /plugin | |
parent | 28ec372744e6dbeab9ecae7a3a9a7ef23b0866d5 (diff) | |
download | mariadb-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.cc | 6 |
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)? |