Uploaded image for project: 'Torque'
  1. Torque
  2. TORQUE-257

unknown option key for mysql tables cause invalid sql

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-beta1
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      mysql

      Description

      if a table option is set which is not a valid table creation option for mysql, e.g.

      <table name="OPTION_TABLE" description="table with options">
      <option key="tableOptionKey1" value="tableOptionValue1"/>
      ...

      invalid sql will be rendered:
      CREATE TABLE OPTION_TABLE
      (
      ...
      ) if(tableOptionKey1 == "PARTITION BY")
      tableOptionKey1 tableOptionValue1;

        Attachments

          Activity

            People

            • Assignee:
              tfischer Thomas Fox
              Reporter:
              tfischer Thomas Fox
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: