[MDEV-19994] Add class Function_collection Created: 2019-07-09 Updated: 2019-10-14 Resolved: 2019-07-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | GIS |
| Fix Version/s: | 10.5.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Data type plugins should be able to provide their own sets of built-in functions. Let's add a new class Function_collection, as follows:
and, as a prove of the conceipt, move all GIS functions into a new class Function_collection_geometry.
This task will also do the following:
Later, in a separate MDEV, we'll add a new plugin type, MYSQL_FUNCTION_COLLECTION_PLUGIN. |
| Comments |
| Comment by Sergei Golubchik [ 2019-07-09 ] |
|
I don't think it belongs to data type plugins. It should be a new UDF-replacement "function" plugin type. of course, it can be in the same .so as a data type plugin and loaded with the same INSTALL SONAME command. |
| Comment by Alexander Barkov [ 2019-07-09 ] |
|
I agree. 1. Data type shared libraries will be able to have at the same time:
2. But it will be also possible to have "function" plugins alone (i.e. a plugin with a set of functions, without any new data types). The new class Function_collection will be reused in both cases. |