Changeset 773 for trunk


Ignore:
Timestamp:
Jan 21, 2016, 8:04:52 AM (4 years ago)
Author:
cito
Message:

Do not call set_decimal in pgdb

The set_decimal() function is only relevant for the pg module (its getresult() method).
Don't call it in the pgdb module; the two modules should not interfere with each other.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pgdb.py

    r772 r773  
    9999            raise NotSupportedError('OrderedDict is not supported')
    100100
    101 set_decimal(Decimal)
    102 
    103101
    104102### Module Constants
     
    125123    if decimal_type is not None:
    126124        _cast['numeric'] = Decimal = decimal_type
    127         set_decimal(Decimal)
    128125    return Decimal
    129126
Note: See TracChangeset for help on using the changeset viewer.