Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Done
-
None
Description
#ifdef WITH_PARTITION_STORAGE_ENGINE ... #endif appears frequently in the Spider code base. However, Spider is disabled if the partitioning engine is disabled. So, there is no need to maintain such #ifdefs.
Attachments
Issue Links
- relates to
-
MDEV-26178 Spider: remove unnecessary #ifdef and dead code in #ifdef
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Summary | Disable Spider if partitioning is disabled | Disable Spider too if partitioning is disabled |
Summary | Disable Spider too if partitioning is disabled | Spider: remove #WITH_PARTITION_STORAGE_ENGINE |
Description | {{#ifdef WITH_PARTITION_STORAGE_ENGINE ... #endif}} appears frequently in the Spider code base. However, I don't think that the Spider is well-tested without the partitioning engine and it is likely not to work in the configuration. So, by CMakeList.txt, disable Spider if the partitioning engine is disabled. And then, remove all the occurrence of {{WITH_PARTITION_STORAGE_ENGINE}}. | {{#ifdef WITH_PARTITION_STORAGE_ENGINE ... #endif}} appears frequently in the Spider code base. However, Spider is disabled if the partitioning engine is disabled. So, there is no need to maintain such #ifdefs. |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Nayuta Yanagisawa [ JIRAUSER47117 ] | Alexey Botchkov [ holyfoot ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Alexey Botchkov [ holyfoot ] | Nayuta Yanagisawa [ JIRAUSER47117 ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Fix Version/s | 10.9.1 [ 27114 ] | |
Fix Version/s | 10.9 [ 26905 ] | |
Resolution | Done [ 10200 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
https://github.com/MariaDB/server/commit/9d1af70a690d71dc2c30c3dbb34100bcdbee0e39