Skip to content. Skip to navigation

ICTP Portal

Sections
You are here: Home linux ZMysqlDA patch
Personal tools
Document Actions

ZMysqlDA patch

Piccola patch necessaria per recuperare correttamente i dati di un blob da mysql. Il problema si era manifestato con il sistema di ricerca degli associati.

Click here to get the file

Size 1 kB - File type text/x-patch

File contents

diff -bur ZMySQLDA/db.py ZMySQLDA.ictp/db.py
--- ZMySQLDA/db.py	2001-09-07 05:45:35.000000000 +0200
+++ ZMySQLDA.ictp/db.py	2008-01-10 15:39:21.788979035 +0100
@@ -173,6 +173,7 @@
     conv[FIELD_TYPE.DATE] = DateTime_or_None
     conv[FIELD_TYPE.DECIMAL] = float
     del conv[FIELD_TYPE.TIME]
+    del conv[FIELD_TYPE.BLOB]
 
     _p_oid=_p_changed=_registered=None
 

Powered by Plone This site conforms to the following standards: