[sqlalchemy] ResourceClosedError with large Text columns

2011-03-17 Thread Martin
I have a table with a Text column, which i manually set up as a MEDIUMTEXT type in MySQL (5.0), since MySQL's 2**16 character limit is not enough for my application. Now when I store large chunks of text in that column, and try to get it back, SQLAlchemy raises an ResourceClosedError, saying that

Re: [sqlalchemy] ResourceClosedError with large Text columns

2011-03-17 Thread Michael Bayer
On Mar 17, 2011, at 9:11 PM, Martin wrote: I have a table with a Text column, which i manually set up as a MEDIUMTEXT type in MySQL (5.0), since MySQL's 2**16 character limit is not enough for my application. Now when I store large chunks of text in that column, and try to get it back,