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

API for running SQL from inside the server

Details

    Description

      There's a set of classes in the server:

      class Protocol_local;
      class Ed_connection;
      class Server_runnable;
      class Execute_sql_statement;

      created to simplify executing SQL statements from inside the server.

      They are not used, and probably cannot be used anymore.

      This task is to fix them, cleanup/simplify perhaps, and use them everywhere in the server where it needs to execute SQL.

      This API should also be usable by plugins.

      Note: often the server does not need to execute SQL, only to parse it, so these classes should allow that too.

      Attachments

        Issue Links

          Activity

            GeoffMontee Geoff Montee (Inactive) added a comment - - edited

            Justin Swanhart thinks CTE support can be implemented easily once this is finished:

            https://lists.launchpad.net/maria-discuss/msg02662.html

            Should that issue be dependent on MDEV-8308?

            GeoffMontee Geoff Montee (Inactive) added a comment - - edited Justin Swanhart thinks CTE support can be implemented easily once this is finished: https://lists.launchpad.net/maria-discuss/msg02662.html Should that issue be dependent on MDEV-8308 ?

            People

              Unassigned Unassigned
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.