Created
November 15, 2015 17:37
-
-
Save metaskills/4c9900c3d1078e5c4763 to your computer and use it in GitHub Desktop.
Diff of sybdb.h 0.95 to master
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Users/kencollins/Desktop/sybdb-095.h b/Users/kencollins/Desktop/sybdb-master.h | |
index 5167a85..65f6586 100644 | |
--- a/Users/kencollins/Desktop/sybdb-095.h | |
+++ b/Users/kencollins/Desktop/sybdb-master.h | |
@@ -42,9 +42,6 @@ extern "C" | |
#define TDS_STATIC_CAST(type, a) ((type)(a)) | |
#endif | |
-static const char rcsid_sybdb_h[] = "$Id: sybdb.h,v 1.106 2011-12-05 02:26:31 jklowden Exp $"; | |
-static const void *const no_unused_sybdb_h_warn[] = { rcsid_sybdb_h, no_unused_sybdb_h_warn }; | |
- | |
#ifdef FALSE | |
#undef FALSE | |
#endif | |
@@ -75,9 +72,9 @@ static const void *const no_unused_sybdb_h_warn[] = { rcsid_sybdb_h, no_unused_s | |
#define DBVERSION_42 3 | |
#define DBVERSION_70 4 | |
#define DBVERSION_71 5 | |
-#define DBVERSION_80 DBVERSION_71 | |
#define DBVERSION_72 6 | |
#define DBVERSION_73 7 | |
+#define DBVERSION_74 8 | |
/* these two are defined by Microsoft for dbsetlversion() */ | |
#define DBVER42 DBVERSION_42 | |
@@ -101,6 +98,7 @@ static const void *const no_unused_sybdb_h_warn[] = { rcsid_sybdb_h, no_unused_s | |
#define DBTDS_7_1 9 /* Microsoft SQL Server 2000 */ | |
#define DBTDS_7_2 10 /* Microsoft SQL Server 2005 */ | |
#define DBTDS_7_3 11 /* Microsoft SQL Server 2008 */ | |
+#define DBTDS_7_4 12 /* Microsoft SQL Server 2012/2014 */ | |
#define DBTXPLEN 16 | |
@@ -207,8 +205,16 @@ enum | |
#define SYBMONEYN SYBMONEYN | |
SYBDATETIMN = 111, /* 0x6F */ | |
#define SYBDATETIMN SYBDATETIMN | |
- SYBNVARCHAR = 103 /* 0x67 */ | |
+ SYBNVARCHAR = 103, /* 0x67 */ | |
#define SYBNVARCHAR SYBNVARCHAR | |
+ SYBDATE = 49, /* 0x31 */ | |
+#define SYBDATE SYBDATE | |
+ SYBTIME = 51, /* 0x33 */ | |
+#define SYBTIME SYBTIME | |
+ SYBBIGDATETIME = 187, /* 0xBB */ | |
+#define SYBBIGDATETIME SYBBIGDATETIME | |
+ SYBBIGTIME = 188, /* 0xBC */ | |
+#define SYBBIGTIME SYBBIGTIME | |
}; | |
#define SYBAOPCNT 0x4b | |
@@ -496,6 +502,10 @@ typedef int (*MHANDLEFUNC) (DBPROCESS * dbproc, DBINT msgno, int msgstate, int s | |
#define DECIMALBIND 18 | |
#define SRCNUMERICBIND 19 | |
#define SRCDECIMALBIND 20 | |
+#define DATEBIND 21 | |
+#define TIMEBIND 22 | |
+#define BIGDATETIMEBIND 23 | |
+#define BIGTIMEBIND 24 | |
#define BIGINTBIND 30 | |
#define DATETIME2BIND 31 | |
#define MAXBINDTYPES 32 /* keep last */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment