Changeset: 07df76314751 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/07df76314751
Modified Files:
clients/odbc/samples/odbcconnect.c
Branch: odbc-tls
Log Message:
Tweak abort condition
diffs (12 lines):
diff --git a/clients/odbc/samples/odbcconnect.c
b/clients/odbc/samples/odbcconnect.c
--- a/clients/odbc/samples/odbcconnect.c
+++ b/clients/odbc/samples/odbcconnect.c
@@ -167,7 +167,7 @@ ensure_ok(SQLSMALLINT type, SQLHANDLE ha
fprintf(stderr, " - %s: %s\n", state, explanation);
}
- if (!SQL_SUCCEEDED(ret)) {
+ if (!SQL_SUCCEEDED(ret) && ret != SQL_NEED_DATA) {
cleanup();
exit(1);
}
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]