On Sat, Oct 20, 2007 at 03:21:38PM +0200, Markus Gritsch wrote:
> In this case I think it would be better to use BOOL (or if MySQL 4.1
> can be assumed BOOLEAN) for BoolCol in the MySQL backend.
> 
> After reading http://sqlite.org/datatype3.html again, I
> still think that BOOLEAN should be used for the SQLite backend:
> 
> *) It has the advantage you already pointed out in helping fromDatabase.

   I agree. I'll change TINYINT to BOOL for MySQL in all branches and I'll
change it to BOOL for SQLite in the trunk; I will also extend fromDatabase
for SQLite to recognize BOOL.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to