Changeset 44

Timestamp:
01/09/07 21:23:52 (2 years ago)
Author:
brad
Message:

Preliminary FreeTDS support (MSSQL, Sybase)

  • Only a few types have been tested
    • varchar, nvarchar
    • int
    • float
    • datetime, smalldatetime
    • money, smallmoney
  • As with all existing dbi's, this one only returns strings
    • so dates come at you like yyyy-mm-dd hh:nn:ss
    • there's a rounding error in money,smallmoney - can only get 2 decimal places, should be able to get 4
  • No error messages are being presented to the user yet.
    • MssqlError?.d needs to be coded
    • CS_SERVERMSG and src/ctlib/unittests/common.c look promising here
  • Bindings (thanks to bcd.gen) were for FreeTDS 0.64RC2, but should work across a wide range of versions
  • Within FreeTDS, the ctlib was used
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved