~maria-captains/maria/5.2

Viewing all changes in revision 2978.

  • Committer: Vladislav Vaintroub
  • Date: 2011-05-26 00:01:47 UTC
  • Revision ID: wlad@montyprogram.com-20110526000147-2rkbc7y12q1fgxlx
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: