From aecee0e5941f8118982f3c97a40e606bbf92db2d Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Wed, 5 Aug 2020 18:19:23 -0400 Subject: [PATCH] Provide SQL_DESC_UPDATABLE column attribute brianb/mdbtools#156 --- src/odbc/odbc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/odbc/odbc.c b/src/odbc/odbc.c index 444ddee..7e5f988 100644 --- a/src/odbc/odbc.c +++ b/src/odbc/odbc.c @@ -950,6 +950,9 @@ static SQLRETURN SQL_API _SQLColAttributes( break; } break; + case SQL_DESC_UPDATABLE: + *pfDesc = SQL_ATTR_READONLY; + break; default: strcpy(sqlState, "HYC00"); // Driver not capable ret = SQL_ERROR;