XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.4.5
    • N/A
    • N/A
    • None
    • Windows

    Description

      I have found the following problem:
      When in a SQL-Statement there is a commentline and between the '--' and the text there is no ein space, then I get the error ERROR 1064 (42000)....

      e.g.

      select *
       from information_schema.columns
      where TABLE_NAME = 'ALL_PLUGINS'
      --and data_type = 'varchar'
      ;
      

      Error:
      ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and data_type = 'varchar'' at line 4

      select *
       from information_schema.columns
      where TABLE_NAME = 'ALL_PLUGINS'
      -- and data_type = 'varchar'
      ;
      

      then I get no error and get the correct result.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wodrsoftware Wolfgang Draxler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.