Hi, I just noticed that autoloading of tables on old versions of MySQL is broken (I'm using 3.23.58, but I believe the problem will occur up to 4.1.1)
The problem is that reflecttable tries to use the 'character_set_results' system variable, which was only introduced in 4.1.1. The attached patch prevents the exception that occurs if it is not present, but I don't know if that is the correct way to fix it (should it be decoded using some default encoding perhaps?) I don't know how concerned you are about supporting such an old version of MySQL, and I also realise that table reflection is a nice-to-have feature rather than a necessity, but it's just so convenient :-) Cheers, Simon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
mysql.patch
Description: mysql.patch