Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-13067

Statement delimiters within executable comments throw ERROR 1064

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5, 10.0, 10.1, 10.1.24, 10.2
    • N/A
    • Documentation, Parser
    • Ubuntu 14.04

    Description

      Example

      MariaDB [(none)]> /*M!100100 select 1 ; */  
      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 '' at line 1
          ->
      

      MariaDB [(none)]> /*M!120000 select 1 ; */  
      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 '/*M!110100 select 1' at line 1
          -> 
      

      Regular comments work fine:

      MariaDB [(none)]> /* select 1 ; */  
      MariaDB [(none)]> 
      

      Attachments

        Activity

          People

            greenman Ian Gilfillan
            Rich Rich Theobald
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.