From 6970154dba48d7d0665c9ed182e7bc36f6e2536b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Carlos=20Garc=C3=ADa?= Date: Tue, 6 Aug 2024 19:34:47 +0200 Subject: [PATCH] Updated error code returned by SQLGetData function (#35) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * Updated error code returned by SQLGetData function * use openssl v 3_3_1 --------- Co-authored-by: Carlos García García Co-authored-by: Dave Cramer --- convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert.c b/convert.c index abb52d5..ce0af64 100644 --- a/convert.c +++ b/convert.c @@ -1389,7 +1389,7 @@ MYLOG(0, "null_cvt_date_string=%d\n", conn->connInfo.cvt_null_date_string); else { SC_set_error(stmt, STMT_RETURN_NULL_WITHOUT_INDICATOR, "StrLen_or_IndPtr was a null pointer and NULL data was retrieved", func); - return SQL_ERROR; + return COPY_GENERAL_ERROR; } } -- 2.39.5