Fixed sql_perror() to return appropriate error messages on Windows,
The error message is now based on GetLastError() rather than errno. Background: errno is C runtime specific and in many circumstances it is not set, e.g when using Win32 API or socket functions.
Showing
Please register or sign in to comment