mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 15:43:38 +00:00
msdasql: Fix a typo in the is_fixed_length() function name.
This commit is contained in:
parent
e7be6ae2f1
commit
a00a64b9c0
|
@ -263,7 +263,7 @@ static BOOL is_variable_length(SQLSMALLINT type)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL is_fixed_legnth(SQLSMALLINT type)
|
static BOOL is_fixed_length(SQLSMALLINT type)
|
||||||
{
|
{
|
||||||
switch(type)
|
switch(type)
|
||||||
{
|
{
|
||||||
|
@ -1059,7 +1059,7 @@ static HRESULT WINAPI rowset_colsinfo_GetColumnInfo(IColumnsInfo *iface, DBORDIN
|
||||||
if (ColumnDataNullable)
|
if (ColumnDataNullable)
|
||||||
dbcolumn[i].dwFlags |= DBCOLUMNFLAGS_ISNULLABLE | DBCOLUMNFLAGS_MAYBENULL;
|
dbcolumn[i].dwFlags |= DBCOLUMNFLAGS_ISNULLABLE | DBCOLUMNFLAGS_MAYBENULL;
|
||||||
|
|
||||||
if (is_fixed_legnth(ColumnDataType))
|
if (is_fixed_length(ColumnDataType))
|
||||||
dbcolumn[i].dwFlags |= DBCOLUMNFLAGS_ISFIXEDLENGTH;
|
dbcolumn[i].dwFlags |= DBCOLUMNFLAGS_ISFIXEDLENGTH;
|
||||||
|
|
||||||
ret = SQLColAttribute(rowset->hstmt, i+1, SQL_DESC_SCALE, NULL, 0, NULL, &length);
|
ret = SQLColAttribute(rowset->hstmt, i+1, SQL_DESC_SCALE, NULL, 0, NULL, &length);
|
||||||
|
|
Loading…
Reference in a new issue