diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-12 09:22:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-12 09:22:12 +0200 |
commit | d8fad747b21c39e20e9f6f49b8a127b2fae1e7fe (patch) | |
tree | b47ff491c5b2a9ad0354ff9dde3cfcb817cee614 | |
parent | 2f6ff419982feb233cb3d29410740bc546d4317d (diff) |
Cosmetic changes
-rw-r--r-- | odb/mssql/mssql-types.hxx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/odb/mssql/mssql-types.hxx b/odb/mssql/mssql-types.hxx index b5c43b4..43e6d6e 100644 --- a/odb/mssql/mssql-types.hxx +++ b/odb/mssql/mssql-types.hxx @@ -102,21 +102,23 @@ namespace odb string, // Buffer is a char array. long_string, // Buffer is a long_callback. - nstring, // Buffer is a wchar_t (2-byte) array. + nstring, // Buffer is a ucs2_char array. long_nstring, // Buffer is a long_callback. binary, // Buffer is a byte array. long_binary, // Buffer is a long_callback. - date, // Buffer is an SQL_DATE_STRUCT. - time, // Buffer is an SQL_SS_TIME2_STRUCT. - datetime, // Buffer is an SQL_TIMESTAMP_STRUCT. - datetimeoffset, // Buffer is an SQL_SS_TIMESTAMPOFFSET_STRUCT. + date, // Buffer is a date struct (SQL_DATE_STRUCT). + time, // Buffer is a time struct (SQL_SS_TIME2_STRUCT). + datetime, // Buffer is a datetime struct + // (SQL_TIMESTAMP_STRUCT). + datetimeoffset, // Buffer is a datetimeoffset + // (SQL_SS_TIMESTAMPOFFSET_STRUCT). - uniqueidentifier, // Buffer is an SQLGUID. + uniqueidentifier, // Buffer is a uniqueidentifier struct (SQLGUID). rowversion, // Buffer is an 8-byte array. - last // Used as an end of list marker. + last // Used as an end of list marker. }; buffer_type type; // The buffer type. @@ -137,7 +139,7 @@ namespace odb // datatimeoffset it contains fractional seconds // (scale). In case of datetime, the special // value 8 indicates the SMALLDATETIME type - // which the the seconds precision. + // which has no seconds. }; } } |