Changes between Version 1 and Version 2 of Ticket #5553


Ignore:
Timestamp:
Feb 3, 2012 12:15:07 AM (2 years ago)
Author:
rjollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5553 – Description

    v1 v2  
    55#!python 
    66cursor.execute("SELECT id, name, notes, sort, timestamp, deleted " 
    7                        "FROM downloader_category " 
    8                        "WHERE id = %s", (id,)) 
     7               "FROM downloader_category " 
     8               "WHERE id = %s", (id,)) 
    99}}} 
    1010 
    11 This will break near id = %s because you need to specify the table where ID resides. Something like this: 
     11This will break near `id = %s` because you need to specify the table where ID resides. Something like this: 
    1212 
     13{{{ 
     14#!python 
    1315cursor.execute("SELECT id, name, notes, sort, timestamp, deleted " 
    14                        "FROM downloader_category " 
    15                        "WHERE downloader_category.id = %s", (id,)) 
     16               "FROM downloader_category " 
     17               "WHERE downloader_category.id = %s", (id,)) 
     18}}} 
    1619 
    1720I have changed all the syntax and now works ok.