Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
The code in field.cc
uint Field_blob::get_key_image(uchar *buff,uint length, imagetype type_arg)
|
{
|
#ifdef HAVE_SPATIAL
|
if (type_arg == itMBR) |
{
|
// handle spatial key |
return ...; |
}
|
#endif
|
// handle scalar key |
return ...; |
}
|
To turn GIS implementation into a data type plugin, let's do the following:
- move this code from Field_blob to Field_geom.
- move these dependencoes from item.h to item_geofunc.h:
#include "gstream.h"
#include "spatial.h"
Attachments
Issue Links
- blocks
-
MDEV-4912 Data type plugin API version 1
-
- Closed
-
Activity
Rank | Ranked higher |
issue.field.resolutiondate | 2019-07-10 05:04:29.0 | 2019-07-10 05:04:29.961 |
Component/s | Data types [ 13906 ] | |
Component/s | GIS [ 10105 ] | |
Fix Version/s | 10.5.0 [ 23709 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 98126 ] | MariaDB v4 [ 134037 ] |