回退 'Pull Request !11 : 同步odbc到开源社区730'

This commit is contained in:
zhangxubo
2021-09-29 14:43:10 +00:00
committed by Gitee
parent 6fa069f14a
commit 17eed54a38
27 changed files with 38 additions and 16821 deletions

View File

@ -398,11 +398,6 @@ PGAPI_GetConnectAttr(HDBC ConnectionHandle,
ConnectionClass *conn = (ConnectionClass *) ConnectionHandle;
RETCODE ret = SQL_SUCCESS;
SQLINTEGER len = 4;
if (Value == NULL) {
CC_set_error(conn, CONN_VALUE_OUT_OF_RANGE, "Invalid Connection value", "PGAPI_GetConnectOption");
return SQL_ERROR;
}
MYLOG(0, "entering %d\n", Attribute);
switch (Attribute)