freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Erik Bryn <erik.bryn AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] SYBUNIQUE missing from sybdb.h?
- Date: Tue, 5 Oct 2010 22:20:07 -0700
Assuming this was just an oversight. Here's a simple patch to fix it.
- Erik
Index: include/sybdb.h
===================================================================
RCS file: /cvsroot/freetds/freetds/include/sybdb.h,v
retrieving revision 1.95
diff -u -8 -p -r1.95 sybdb.h
--- include/sybdb.h 14 Sep 2010 02:12:47 -0000 1.95
+++ include/sybdb.h 6 Oct 2010 05:18:33 -0000
@@ -193,18 +193,20 @@ enum
SYBNUMERIC = 108, /* 0x6C */
#define SYBNUMERIC SYBNUMERIC
SYBDECIMAL = 106, /* 0x6A */
#define SYBDECIMAL SYBDECIMAL
SYBFLTN = 109, /* 0x6D */
#define SYBFLTN SYBFLTN
SYBMONEYN = 110, /* 0x6E */
#define SYBMONEYN SYBMONEYN
- SYBDATETIMN = 111 /* 0x6F */
+ SYBDATETIMN = 111, /* 0x6F */
#define SYBDATETIMN SYBDATETIMN
+ SYBUNIQUE = 36 /* 0x24 */
+#define SYBUNIQUE SYBUNIQUE
};
#define SYBAOPCNT 0x4b
#define SYBAOPCNTU 0x4c
#define SYBAOPSUM 0x4d
#define SYBAOPSUMU 0x4e
#define SYBAOPAVG 0x4f
#define SYBAOPAVGU 0x50
On Tue, Oct 5, 2010 at 5:08 PM, Erik Bryn <erik.bryn AT gmail.com> wrote:
> Is there a reason SYBUNIQUE is defined in tds.h, but not in sybdb.h?
>
> - Erik
>
-
[freetds] SYBUNIQUE missing from sybdb.h?,
Erik Bryn, 10/05/2010
- Re: [freetds] SYBUNIQUE missing from sybdb.h?, Erik Bryn, 10/06/2010
Archive powered by MHonArc 2.6.24.