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

API for running SQL from inside the server

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 10.1
    • Component/s: None
    • Labels:

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              GeoffMontee Geoff Montee 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 this one?

              https://mariadb.atlassian.net/browse/MDEV-8308

              Show
              GeoffMontee Geoff Montee 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 this one? https://mariadb.atlassian.net/browse/MDEV-8308

                People

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

                  Dates

                  • Created:
                    Updated:

                    Time Tracking

                    Estimated:
                    Original Estimate - 4 weeks
                    4w
                    Remaining:
                    Remaining Estimate - 4 weeks
                    4w
                    Logged:
                    Time Spent - Not Specified
                    Not Specified