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

misleading error messages from init_from_sql_statement_string()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.2
    • Fix Version/s: 10.0.4
    • Component/s: None
    • Labels:
      None

      Description

      when init_from_sql_statement_string() is used for discovery, and the sql is not correct — cannot be parsed — the parser error is lost on the way and a user gets an incomprehensible error message that does not show where a real problem is. This needs to be fixed.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            serg Sergei Golubchik added a comment -

            pushed in 10.0-base

            Show
            serg Sergei Golubchik added a comment - pushed in 10.0-base

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                serg Sergei Golubchik
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 1 hour Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - 1 hour Remaining Estimate - 3 hours
                  1h