[MDEV-12207] Include Windows compatibility manifest into executables, to make GetVersionEx working Created: 2017-03-08  Updated: 2017-03-08  Resolved: 2017-03-08

Status: Closed
Project: MariaDB Server
Component/s: Compiling, Platform Windows, Plugin - feedback
Affects Version/s: None
Fix Version/s: 5.5.55

Type: Bug Priority: Major
Reporter: Vladislav Vaintroub Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None


 Description   

GetVersionEx() on Windows lies about actual version by default, starting with Windows 8.1, i.e
it always returns 6.2 indicating Windows 8/2012, even on 8.1 or 10.

In order to get this function to tell truth, additional compatibility manifest is required during
the build. This is described in
https://msdn.microsoft.com/en-us/library/windows/desktop/dn481241(v=vs.85).aspx

Currently, this just affects feedback plugin (the stats show quite a large number of Windows 8 installations, and no Windows 10 for example)


Generated at Thu Feb 08 07:55:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.