mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-17 03:55:59 +01:00
Corrected spelling of accommodate in documentation and comments.
This commit is contained in:
parent
e26d1ffa13
commit
91dd5f8e44
@ -559,7 +559,7 @@ private:
|
||||
if (size == _maxFieldSize)
|
||||
{
|
||||
getMinValueSize(val, size);
|
||||
// accomodate for terminating zero
|
||||
// accommodate for terminating zero
|
||||
if (size != _maxFieldSize) ++size;
|
||||
}
|
||||
|
||||
@ -625,7 +625,7 @@ private:
|
||||
if (size == _maxFieldSize)
|
||||
{
|
||||
getMinValueSize(val, size);
|
||||
// accomodate for terminating zero
|
||||
// accommodate for terminating zero
|
||||
if (size != _maxFieldSize) size += sizeof(UTF16Char);
|
||||
}
|
||||
|
||||
|
@ -380,7 +380,7 @@ std::string ODBCStatementImpl::nativeSQL()
|
||||
delete [] pNative;
|
||||
throw ConnectionException(_rConnection, "SQLNativeSql()");
|
||||
}
|
||||
++retlen;//accomodate for terminating '\0'
|
||||
++retlen;//accommodate for terminating '\0'
|
||||
}while (retlen > length);
|
||||
|
||||
std::string sql(pNative);
|
||||
|
@ -158,7 +158,7 @@ std::size_t Preparator::maxDataSize(std::size_t pos) const
|
||||
ODBCMetaColumn mc(_rStmt, pos);
|
||||
sz = mc.length();
|
||||
|
||||
// accomodate for terminating zero (non-bulk only!)
|
||||
// accommodate for terminating zero (non-bulk only!)
|
||||
MetaColumn::ColumnDataType type = mc.type();
|
||||
if (!isBulk() && ((ODBCMetaColumn::FDT_WSTRING == type) || (ODBCMetaColumn::FDT_STRING == type))) ++sz;
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ class Data_API RowFormatter
|
||||
/// Statement always has the ownership of the row formatter and shares
|
||||
/// it with rows through RecordSet.
|
||||
///
|
||||
/// To accomodate for various formatting needs, a formatter can operate in two modes:
|
||||
/// To accommodate for various formatting needs, a formatter can operate in two modes:
|
||||
///
|
||||
/// - progressive: formatted individual row strings are gemerated and returned from each
|
||||
/// call to formatValues;
|
||||
|
@ -131,7 +131,7 @@ public:
|
||||
/// affected for all other statements (insert, update, delete).
|
||||
/// If reset is true (default), the underlying bound storage is
|
||||
/// reset and reused. In case of containers, this means they are
|
||||
/// cleared and resized to accomodate the number of rows returned by
|
||||
/// cleared and resized to accommodate the number of rows returned by
|
||||
/// this execution step. When reset is false, data is appended to the
|
||||
/// bound containers during multiple execute calls.
|
||||
|
||||
|
@ -46,7 +46,7 @@ class Foundation_API Var
|
||||
///
|
||||
/// Loss of signedness is not allowed for numeric values. This means that if an attempt is made to convert
|
||||
/// the internal value which is a negative signed integer to an unsigned integer type storage, a RangeException is thrown.
|
||||
/// Overflow is not allowed, so if the internal value is a larger number than the target numeric type size can accomodate,
|
||||
/// Overflow is not allowed, so if the internal value is a larger number than the target numeric type size can accommodate,
|
||||
/// a RangeException is thrown.
|
||||
///
|
||||
/// Precision loss, such as in conversion from floating-point types to integers or from double to float on platforms
|
||||
|
Loading…
Reference in New Issue
Block a user