Skip to Content.
Sympa Menu

freetds - [PATCH] Status byte, endianess, etc

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Macy <bmacy AT siterock.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Cc: Steve Roberts <strobert AT strobe.net>
  • Subject: [PATCH] Status byte, endianess, etc
  • Date: Mon, 03 Jul 2000 09:28:50 -0700

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

Attachment: freetds-0.5-patch.gz
Description: GNU Zip compressed data




Archive powered by MHonArc 2.6.24.

Top of Page