From: Ben T. <bt...@gm...> - 2010-12-24 15:11:28
|
The python code was wrong in my last email, it was what I THOUGHT it should be, the python that produces the bad SQL is: -- query = Sync.select( AND( Sync.q.syncpoint==self, Sync.q.serial==sqlbuilder.Select('max(serial)', Sync.q.syncpoint==self, staticTables=('sync',)) ) ) -- |