decimal support for MSSQL

Issue #1282 resolved
Former user created an issue

Attached is a patch that fixes insertion of small decimal numbers in MSSQL

Comments (12)

  1. Former user Account Deleted

    Yep this is a dupe... Sorry I did not search much to see if there was some other related problem.

    My code does not have unit tests... but I can add them if you give me some directions. Appart from that I would say choose the one you want.

    The less code I have to maintain myself the happier I am :p

    Florent Aide

  2. Former user Account Deleted
    • changed status to open
    • removed status

    Sorry to bother you but the patch in 1280 is false.

    a decimal instance ._int attribute is not a string or even an int... it is a tuple.

    The test that was added is not run by the default test suite but if you setup an mssql server to test it you get an error saying that:

    'tuple' object as no attribute 'zfill'

    I'll redo my patch again to make it cleaner, but please consider this issue as still open.

  3. Former user Account Deleted

    Please disregard the ms.diff file, and use the 2 others patches attached to this ticket.

  4. Michael Trier

    Okay the additional tests still do not cause the test to fail. Were you getting failures with the additional test criteria?

  5. Log in to comment