mirror of
https://github.com/MariaDB/server.git
synced 2025-12-01 17:39:21 +03:00
Prior to this patch name of the user was read from environment variable USER, with a fallback to 'ODBC', if the environment variable is not set. The name of the env.variable is incorrect (USERNAME usually contains current user's name, but not USER), which made client to always determine current user as 'ODBC'. The fix is to use GetUserName() instead.
136 KiB
136 KiB