8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:43:02 +01:00
This commit is contained in:
robocop 2015-03-31 02:10:38 +00:00
parent a914b27fe1
commit ed1e4b5b7d
4 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ Syntax:
<function name> := { REGR_AVGX | REGR_AVGY | REGR_COUNT | REGR_INTERCEPT |
REGR_R2 | REGR_SLOPE | REGR_SXX | REGR_SXY | REGR_SYY }
Formula use bellow variable.
Formula use below variable.
Y: <expr1> (<expr1> IS NOT NULL AND <expr2> IS NOT NULL).
X: <expr2> (<expr1> IS NOT NULL AND <expr2> IS NOT NULL).

View File

@ -124,7 +124,7 @@ public:
return SimpleStatusVector<S>::begin();
}
const unsigned length() const
unsigned length() const
{
return SimpleStatusVector<S>::getCount();
}

View File

@ -1131,7 +1131,7 @@ UnicodeUtil::ConversionICU& UnicodeUtil::getConversionICU()
if ((convIcu = ImplementConversionICU::create(favMaj, favMin)))
return *convIcu;
}
catch (const Exception& ex)
catch (const Exception&)
{ }
// Do a regular search

View File

@ -8214,10 +8214,10 @@ static unsigned process_message_display(Firebird::IMessageMetadata* message, uns
if (!setValues.global_Cols.find(var.alias, &pad[i]) && setValues.global_Col_default)
pad[i] = setValues.global_Col_default;
disp_length = pad[i];
}
if ((type == SQL_TEXT || type == SQL_VARYING) && var.charSet == 4)
disp_length *= 4;
if (var.charSet == 4)
disp_length *= 4;
}
// The total line length
linelength += disp_length + 1;