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

unknown option key for mysql tables cause invalid sql

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-beta1
    • 4.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: