mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-10-08 00:14:37 +08:00
Report SQLAllocEnv error in ODBC unit test
This commit is contained in:
@@ -59,6 +59,10 @@ int main(int argc, char **argv)
|
||||
int i;
|
||||
|
||||
retcode = SQLAllocEnv(&henv);
|
||||
if (retcode != SQL_SUCCESS) {
|
||||
fprintf(stderr,"SQLAllocEnv failed: %d\n", retcode);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (SQLAllocConnect(henv, &hdbc) != SQL_SUCCESS)
|
||||
{
|
||||
|
Reference in New Issue
Block a user