Commits
Andris Mednis authored 435d5de376c
.......PS. [ZBX-6798] improved error messages from UnixODBC library for Database Monitor items
.......PS. [ZBX-6797] added configurable ODBC login timeout
Before this change:
- some UnixODBC error messages were of little help,
- ODBC login timeout had a fixed value, 5 seconds.
After this change:
- error messages from UnixODBC are more detailed. SQLState added, multi-record diagnostics
supported, but the message length is limited to 128 bytes.
- ODBC login timeout is set equal to "Timeout" parameter in server configuration file.