[MDEV-4949] Spider engine causes compilation errors if compiled without partitioning Created: 2013-08-26  Updated: 2013-09-17  Resolved: 2013-09-17

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: 10.0.5

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Sergey Vojtovich
Resolution: Fixed Votes: 0
Labels: spider


 Description   

Initially reported at https://blog.mariadb.org/mariadb-10-0-4-alpha-now-available/

cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_PARTITION_STORAGE_ENGINE=OFF && make -j3

10.0-build-without-parts/storage/spider/ha_spider.cc: In member function 'virtual int ha_spider::open(const char*, int, uint)':
10.0-build-without-parts/storage/spider/ha_spider.cc:584:7: error: 'pt_handler_mutex' was not declared in this scope
10.0-build-without-parts/storage/spider/ha_spider.cc:585:5: error: 'partition_share' was not declared in this scope
10.0-build-without-parts/storage/spider/ha_spider.cc:299:22: warning: unused variable 'hash_value' [-Wunused-variable]
10.0-build-without-parts/storage/spider/ha_spider.cc: In member function 'virtual int ha_spider::info(uint)':
10.0-build-without-parts/storage/spider/ha_spider.cc:7769:16: error: 'SPIDER_SHARE' has no member named 'partition_share'
make[2]: *** [storage/spider/CMakeFiles/spider.dir/ha_spider.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....

<svoj> as for partitioning - it must be a bug. If spider can't compile w/o partitioning, it must disable itself properly.



 Comments   
Comment by Sergey Vojtovich [ 2013-09-17 ]

Fixed in 10.0.5, revision-id: kentokushiba@gmail.com-20130916183003-x32rqrm0or5zdj83

Generated at Thu Feb 08 07:00:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.