Hello!

On Tue, Aug 15, 2006 at 04:26:35PM -0300, Johan Dahlin wrote:
> InheritableSQLObject.addColumn is not updating sqlmeta.columns, meaning that
> you cannot use sqlbuilder to access this column.

   It should not update columns list. It only should update the q-magic
reference to the existing column.

> FWIW here's the patch.

   The patch is incorrect but it inspired me to dive into those waters
deeper. I extended your test and found that addColumn() didn't do the
q-magic and delColumn() didn't work at all. I fixed them both. Revisions
1988-1989.

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to