[freetds] TDS_DONE_TOKEN (and others)

Lowden, James K LowdenJK at bernstein.com
Thu May 1 14:17:59 EDT 2003

> From: Frediano Ziglio [mailto:freddyz77 at tin.it]
> Sent: May 1, 2003 12:46 PM
> Il gio, 2003-05-01 alle 16:08, Lowden, James K ha scritto:
> > > From: Frediano Ziglio [mailto:freddyz77 at tin.it]
> > > Sent: May 1, 2003 3:30 AM
> > > 
> > > you can use syntax like enum my_enum var:16;
> I saw this syntax many time ago. It's bit syntax. I used already this
> syntax in tds.h to specify bit flags without loosing readiness or
> space... You can use this syntax only inside struct/union

Bit fields, yes.  enum, no:

$ cat >t.c
#include <stdio.h>
        enum my_enum var:16;
        return 0;
LowdenJK at ntc5003$ make t
cc -O2   -o t t.c
t.c: In function `main':
t.c:4: syntax error before `:'
*** Error code 1

> My TODO on prepared statement is (I'm at a good point):
> - discard token added by dynamic protocol
> - handle SQLPutData filling TDSPARAM structure
> - add a test for SQLPutData
> - test parameters length in query.c
> Code is in CVS but it must be enabled with --enable-development


> PS: are you working on charset ?

Nights and weekends, as time permits.  Hoping for a big day Sunday.  


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above.  If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.

More information about the FreeTDS mailing list