Contact: fumanchu@aminus.org

Log in as guest/dejavu to create tickets

I think I've seen this ORM somewhere before...

Changeset 56

Show
Ignore:
Timestamp:
01/20/05 07:16:58
Author:
fumanchu
Message:

mysql: BOOLEAN -> BOOL for version < 4.1

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/storage/storemysql.py

    r55 r56  
    100100        return u"LONGBLOB" 
    101101     
     102    def coerce_bool(self, cls, key): 
     103        # We could use BOOLEAN, but it wasn't introduced until 4.1.0. 
     104        return u"BOOL" 
     105     
    102106    def coerce_datetime_datetime(self, cls, key): 
    103107        return u"DATETIME"