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

ANALYZE FORMAT=JSON $stmt - invalid JSON

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.4.19
    • Fix Version/s: 10.4
    • Component/s: JSON, Optimizer
    • Labels:
      None
    • Environment:
      Windows 10

      Description

      The "sort_key" in a "filesort" can be invalid - mismatched quotes:

       "query_block": {
          "select_id": 1,
          "r_loops": 1,
          "r_total_time_ms": 0.1429,
          "filesort": {
            "sort_key": "clubs."name"",
            "r_loops": 1,
            "r_total_time_ms": 0.0156,
      

      Also, "table" is a duplicate key, making it difficult to process.

        Attachments

          Activity

            People

            Assignee:
            psergei Sergei Petrunia
            Reporter:
            Neil Pearce Neil Pearce
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration