Open Hunaid2000 opened 3 months ago
No consistency checks are performed in SQLSetDescField & SQLGetDescField functions.
SQLSetDescField
SQLGetDescField
A call to SQLSetDescField function with field SQL_DESC_TYPE should set some fields to default values.
Some descriptor fields are R/W according to API reference but throws error when set/get is called for them.
Example from ARDSetField that is used inside SQLSetDescField function: https://github.com/postgresql-interfaces/psqlodbc/blob/7ec2337580447068b20dd3230c50229eae85dc08/pgapi30.c#L636-L641
ARDSetField
No consistency checks are performed in
SQLSetDescField
&SQLGetDescField
functions.A call to
SQLSetDescField
function with field SQL_DESC_TYPE should set some fields to default values.Some descriptor fields are R/W according to API reference but throws error when set/get is called for them.
Example from
ARDSetField
that is used insideSQLSetDescField
function: https://github.com/postgresql-interfaces/psqlodbc/blob/7ec2337580447068b20dd3230c50229eae85dc08/pgapi30.c#L636-L641