Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Driver injection produces the wrong error message on Linux #430
See test/sqlsrv/sqlsrv_testConnection.phpt. When running on Linux, this test fails at the stage labelled
This is obviously incorrect, as it is displayed even if the driver is already installed. It should instead produce an error stating that the login has failed. The incorrect error is returned from a call to SQLGetDiagField() in core_conn.cpp.
The following script will reproduce the error:
The expected output is