on Tue Jun 17 2008, Christopher Lenz <cmlenz-AT-gmx.de> wrote:
> On 17.06.2008, at 22:24, David Abrahams wrote: >> on Wed Jun 11 2008, David Abrahams <dave-AT-boostpro.com> wrote: >> 'SELECT last_visit FROM session WHERE sid=%s AND authenticated=%s' >> 'SELECT last_visit FROM session WHERE sid=%s AND authenticated=%s' >> (u'dave', 1) > > That looks like completely valid SQL to me. Note that %s does not > imply string formatting, it's prepared statement placeholders. > > So, which DB-API module are you using? There's something weird going > on here. It's psycopg2 (did I spell that right?) -- Dave Abrahams BoostPro Computing http://www.boostpro.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
