Skip to content

Error parsing an empty comment #2211

@alexkazik

Description

@alexkazik

Sql (mysql, only the first five lines of the file, unix=lf-style):

-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
sql parser error: Expected: an SQL statement, found: - at Line: 4, Column: 1

Changing -- into -- nop does fix the issue.

Was parsed correctly in 0.53, is broken in 0.60 (no other versions tested).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions