add 3.0.0 patch file

This commit is contained in:
zhang_xubo
2022-03-11 17:10:31 +08:00
parent 5074a6f668
commit 5b71f51471
29 changed files with 3988 additions and 69 deletions

View File

@ -398,6 +398,11 @@ 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)