Changes between Initial Version and Version 1 of Ticket #12688


Ignore:
Timestamp:
Mar 2, 2016, 11:07:57 AM (8 years ago)
Author:
Jun Omae
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12688 – Description

    initial v1  
    44
    55Your model.py:
     6{{{
    67query = "UPDATE component_hierarchy SET parent_component='%s' WHERE component='%s'" % (component, parent_component)
    7 
    8 the Column "parent_component" get the value of component and in the WHERE-Clausel the column "component" looks for content of variable "parent_component".
     8}}}
     9the Column `parent_component` get the value of component and in the WHERE-Clausel the column `component` looks for content of variable `parent_component`.
    910
    1011If we change it to:
     12{{{
    1113query = "UPDATE component_hierarchy SET parent_component='%s' WHERE component='%s'" % (parent_component,component)
    12 
     14}}}
    1315no Errors any more