* include/sqlext.h (SQL_INTERVAL_*): Correct macros.

Reported by Eric Sharkey <sharkey at netrics dot com>
This commit is contained in:
Danny Smith 2004-12-09 02:33:20 +00:00
parent aea52d22aa
commit 8bbdc64198
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2004-12-08 Danny Smith <dannysmith@users.sourceforge.net>
* include/sqlext.h (SQL_INTERVAL_*): Correct macros.
Reported by Eric Sharkey <sharkey at netrics dot com>
2004-12-07 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (TOKEN_INFORMATION_CLASS): Add

View File

@ -541,14 +541,14 @@ extern "C" {
#define SQL_CODE_HOUR_TO_MINUTE 11
#define SQL_CODE_HOUR_TO_SECOND 12
#define SQL_CODE_MINUTE_TO_SECOND 13
#define SQL_INTERVAL_YEAR (100 + SQL_CODE_SECOND)
#define SQL_INTERVAL_MONTH (100 + SQL_CODE_YEAR_TO_MONTH)
#define SQL_INTERVAL_DAY (100 + SQL_CODE_DAY_TO_HOUR)
#define SQL_INTERVAL_HOUR (100 + SQL_CODE_DAY_TO_MINUTE)
#define SQL_INTERVAL_MINUTE (100 + SQL_CODE_DAY_TO_SECOND)
#define SQL_INTERVAL_SECOND (100 + SQL_CODE_HOUR_TO_MINUTE)
#define SQL_INTERVAL_YEAR_TO_MONTH (100 + SQL_CODE_HOUR_TO_SECOND)
#define SQL_INTERVAL_DAY_TO_HOUR (100 + SQL_CODE_MINUTE_TO_SECOND)
#define SQL_INTERVAL_YEAR (100 + SQL_CODE_YEAR)
#define SQL_INTERVAL_MONTH (100 + SQL_CODE_MONTH)
#define SQL_INTERVAL_DAY (100 + SQL_CODE_DAY)
#define SQL_INTERVAL_HOUR (100 + SQL_CODE_HOUR)
#define SQL_INTERVAL_MINUTE (100 + SQL_CODE_MINUTE)
#define SQL_INTERVAL_SECOND (100 + SQL_CODE_SECOND)
#define SQL_INTERVAL_YEAR_TO_MONTH (100 + SQL_CODE_YEAR_TO_MONTH)
#define SQL_INTERVAL_DAY_TO_HOUR (100 + SQL_CODE_DAY_TO_HOUR)
#define SQL_INTERVAL_DAY_TO_MINUTE (100 + SQL_CODE_DAY_TO_MINUTE)
#define SQL_INTERVAL_DAY_TO_SECOND (100 + SQL_CODE_DAY_TO_SECOND)
#define SQL_INTERVAL_HOUR_TO_MINUTE (100 + SQL_CODE_HOUR_TO_MINUTE)