[PATCH] Status byte, endianess, etc

Brian Macy bmacy at siterock.com
Mon Jul 3 12:28:50 EDT 2000


This is the patch I came up with getting freeTDS somewhat working on a
Solaris box talking to an MS SQL 7.0 box. I ended up having to use
DBD-ODBC to get what I needed but I wanted to make sure I contributed
back what I got. The parts of the patch:
- Fixes status field in DONE packet response to be 2 bytes instead of 1
- Clean-up get_smallint and get_int... mostly just efficiency but
get_smallint was confusing
- Integrates the stripping of the extra NULL fix on SYBCHAR fields for
0.50
- Makes TDS_INT and TDS_UINT be base off int32_t and uint32_t

Brian Macy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freetds-0.5-patch.gz
Type: application/x-gzip
Size: 1096 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20000703/c7f367f3/attachment.gz 


More information about the FreeTDS mailing list