From a00a64b9c092a39d26e2016e98b358c1c29553f4 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Thu, 20 Oct 2022 16:23:53 +0200 Subject: [PATCH] msdasql: Fix a typo in the is_fixed_length() function name. --- dlls/msdasql/session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msdasql/session.c b/dlls/msdasql/session.c index 27d952276e5..67dc30bf09e 100644 --- a/dlls/msdasql/session.c +++ b/dlls/msdasql/session.c @@ -263,7 +263,7 @@ static BOOL is_variable_length(SQLSMALLINT type) return FALSE; } -static BOOL is_fixed_legnth(SQLSMALLINT type) +static BOOL is_fixed_length(SQLSMALLINT type) { switch(type) { @@ -1059,7 +1059,7 @@ static HRESULT WINAPI rowset_colsinfo_GetColumnInfo(IColumnsInfo *iface, DBORDIN if (ColumnDataNullable) dbcolumn[i].dwFlags |= DBCOLUMNFLAGS_ISNULLABLE | DBCOLUMNFLAGS_MAYBENULL; - if (is_fixed_legnth(ColumnDataType)) + if (is_fixed_length(ColumnDataType)) dbcolumn[i].dwFlags |= DBCOLUMNFLAGS_ISFIXEDLENGTH; ret = SQLColAttribute(rowset->hstmt, i+1, SQL_DESC_SCALE, NULL, 0, NULL, &length);