Corrected spelling of accommodate in documentation and comments.

This commit is contained in:
martin-osborne 2015-04-06 17:03:35 +01:00
parent e26d1ffa13
commit 91dd5f8e44
6 changed files with 7 additions and 7 deletions

View File

@ -559,7 +559,7 @@ private:
if (size == _maxFieldSize) if (size == _maxFieldSize)
{ {
getMinValueSize(val, size); getMinValueSize(val, size);
// accomodate for terminating zero // accommodate for terminating zero
if (size != _maxFieldSize) ++size; if (size != _maxFieldSize) ++size;
} }
@ -625,7 +625,7 @@ private:
if (size == _maxFieldSize) if (size == _maxFieldSize)
{ {
getMinValueSize(val, size); getMinValueSize(val, size);
// accomodate for terminating zero // accommodate for terminating zero
if (size != _maxFieldSize) size += sizeof(UTF16Char); if (size != _maxFieldSize) size += sizeof(UTF16Char);
} }

View File

@ -380,7 +380,7 @@ std::string ODBCStatementImpl::nativeSQL()
delete [] pNative; delete [] pNative;
throw ConnectionException(_rConnection, "SQLNativeSql()"); throw ConnectionException(_rConnection, "SQLNativeSql()");
} }
++retlen;//accomodate for terminating '\0' ++retlen;//accommodate for terminating '\0'
}while (retlen > length); }while (retlen > length);
std::string sql(pNative); std::string sql(pNative);

View File

@ -158,7 +158,7 @@ std::size_t Preparator::maxDataSize(std::size_t pos) const
ODBCMetaColumn mc(_rStmt, pos); ODBCMetaColumn mc(_rStmt, pos);
sz = mc.length(); sz = mc.length();
// accomodate for terminating zero (non-bulk only!) // accommodate for terminating zero (non-bulk only!)
MetaColumn::ColumnDataType type = mc.type(); MetaColumn::ColumnDataType type = mc.type();
if (!isBulk() && ((ODBCMetaColumn::FDT_WSTRING == type) || (ODBCMetaColumn::FDT_STRING == type))) ++sz; if (!isBulk() && ((ODBCMetaColumn::FDT_WSTRING == type) || (ODBCMetaColumn::FDT_STRING == type))) ++sz;
} }

View File

@ -51,7 +51,7 @@ class Data_API RowFormatter
/// Statement always has the ownership of the row formatter and shares /// Statement always has the ownership of the row formatter and shares
/// it with rows through RecordSet. /// 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 /// - progressive: formatted individual row strings are gemerated and returned from each
/// call to formatValues; /// call to formatValues;

View File

@ -131,7 +131,7 @@ public:
/// affected for all other statements (insert, update, delete). /// affected for all other statements (insert, update, delete).
/// If reset is true (default), the underlying bound storage is /// If reset is true (default), the underlying bound storage is
/// reset and reused. In case of containers, this means they are /// 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 /// this execution step. When reset is false, data is appended to the
/// bound containers during multiple execute calls. /// bound containers during multiple execute calls.

View File

@ -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 /// 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. /// 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. /// a RangeException is thrown.
/// ///
/// Precision loss, such as in conversion from floating-point types to integers or from double to float on platforms /// Precision loss, such as in conversion from floating-point types to integers or from double to float on platforms