[MDEV-4641] API for running SQL from inside the server Created: 2013-06-11  Updated: 2017-05-28

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Sergei Golubchik Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: plugins

Issue Links:
Relates
relates to MDEV-4679 PARSER - SANDBOX - parse queries with... Closed

 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.



 Comments   
Comment by Geoff Montee (Inactive) [ 2015-06-12 ]

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?

Generated at Thu Feb 08 06:57:58 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.