there is no MSLongBlob at the moment.  there is an MSMediumBlob which  
comes out as MEDIUMBLOB, mysql says they are 16 megs in size.

or try doing this:

class MSLongBlob(MSBinary):
     def get_col_spec(self):
         return "LONGBLOB"


On Jan 21, 2007, at 5:03 PM, milena wrote:

>
> I have tried adding max_allowed_packet=16M to my.ini under [mysqld]  
> but
> it didn't work.
> As far as I have seen BLOB type is used when mapping PickleType to
> MySQL. I would like to use LONGBLOB, so I did:
> class MyPickle(PickleType):
>     impl = mysql.MSLongBlob
>
> and Column('data',MyPickle())
>
> in a table specification, but I got error message: "AttributeError:
> 'module' object has no attribute 'MSLongBlob'".
>
> Any further suggestions?
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to