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

analyze_stmt fails with --embedded flag set

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1
    • Fix Version/s: 10.1.4
    • Component/s: Optimizer
    • Labels:
      None

      Description

      The analyze_stmt test case checks privilege level permissions by running a set of queries such as:

      SELECT * from db.t1;
      

      These checks do not make sense when running as embedded.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            cvicentiu Vicentiu Ciorbaru added a comment -

            Please review patch
            https://github.com/MariaDB/server/commit/4fbba0982436aa871b57facc008a18527c10aacc
            for this issue.

            I've moved the code to a separate test file that only needs to be run on a not-embedded server.

            Looking at MDEV-6702 it seems we want the analyze_stmt test case to run as embedded.

            Show
            cvicentiu Vicentiu Ciorbaru added a comment - Please review patch https://github.com/MariaDB/server/commit/4fbba0982436aa871b57facc008a18527c10aacc for this issue. I've moved the code to a separate test file that only needs to be run on a not-embedded server. Looking at MDEV-6702 it seems we want the analyze_stmt test case to run as embedded.
            Hide
            psergey Sergei Petrunia added a comment -

            Vicentiu Ciorbaru, ok to push.

            Show
            psergey Sergei Petrunia added a comment - Vicentiu Ciorbaru , ok to push.

              People

              • Assignee:
                cvicentiu Vicentiu Ciorbaru
                Reporter:
                cvicentiu Vicentiu Ciorbaru
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m