On Sat, Feb 06, 2010 at 12:04:27AM +0100, Petr Jake?? wrote:
> I have a function for something like this:
> def printColumnNames(aTable):
> print "col.origName", "\t", "col.dbName"
> for col in aTable.sqlmeta.columnList:
> print col.origName, "\t", col.dbName
>
>
> col.origName col.dbName
> idMessage id_message
> idEmployee id_employee
> dateAdd date_add
>
> Is that what you mean?
Yes, and idMessage/id_message must not be there. It is there because of
a bug. So help me to chase the bug.
SHOW COLUMNS FROM ps_message_readed
(just run the query)
Oleg.
--
Oleg Broytman http://phd.pp.ru/ ph...@ph...
Programmers don't die, they just GOSUB without RETURN.
|