Re: [SQLObject] Types not interpreted correctly with fromDatabase=True

2007-07-12 Thread Oleg Broytmann
On Fri, Jul 06, 2007 at 06:45:32PM -0300, Claudio Martinez wrote: Attached is a patch adding detection of ENUM and DOUBLE columns. It will also make sure that UnicodeCol is used instead of StringCol if use_unicode is on. The fix in col.py is there to allow notNone=False work on EnumCol

Re: [SQLObject] Types not interpreted correctly with fromDatabase=True

2007-07-09 Thread Oleg Broytmann
On Fri, Jul 06, 2007 at 01:55:19PM -0600, Brian Cole wrote: Little confusing, which patch tracker to use? Whatever you prefer. If you have already registered at SF - you are probably accustomed to the SF tracker; if you have used Trac before - use Trac. Oleg. -- Oleg Broytmann

[SQLObject] Types not interpreted correctly with fromDatabase=True

2007-07-06 Thread Brian Cole
Hi All, Found a bug using the SQLObject trunk from svn with MySQLdb 1.2.1 (the default on Ubuntu). Using the following table: CREATE TABLE `cron` ( `cron_id` int(11) NOT NULL auto_increment, `module` enum('Build','Doc','Test') NOT NULL, `args` varchar(256) NOT NULL, `time` time NOT NULL,

Re: [SQLObject] Types not interpreted correctly with fromDatabase=True

2007-07-06 Thread Oleg Broytmann
On Fri, Jul 06, 2007 at 10:25:04AM -0600, Brian Cole wrote: I noticed there is other MySQLdb version specific stuff in mysqlconnection.py so maybe this should be added? What should be added? Why do the ENUM, SET, and TIME field types get interpreted as SOCol's. Because nobody has

Re: [SQLObject] Types not interpreted correctly with fromDatabase=True

2007-07-06 Thread Oleg Broytmann
On Fri, Jul 06, 2007 at 11:00:39AM -0600, Brian Cole wrote: Knew you would say that. =-) I don't even use MySQL, so who and how should fix bugs in mysqlconnection? ;) Where/how do I submit patches? http://sqlobject.org/community.html There is a Trac, there is a tracker at SourceForge,

Re: [SQLObject] Types not interpreted correctly with fromDatabase=True

2007-07-06 Thread Brian Cole
Knew you would say that. =-) Where/how do I submit patches? -Brian On 7/6/07, Oleg Broytmann [EMAIL PROTECTED] wrote: On Fri, Jul 06, 2007 at 10:25:04AM -0600, Brian Cole wrote: I noticed there is other MySQLdb version specific stuff in mysqlconnection.py so maybe this should be added?

Re: [SQLObject] Types not interpreted correctly with fromDatabase=True

2007-07-06 Thread Brian Cole
Little confusing, which patch tracker to use? http://sqlobject.org/community.html points to http://sourceforge.net/tracker/?group_id=74338atid=540674 http://sqlobject.gcu.info/trac points to