diff options
author | Kento Takeuchi <lucky.rabbitfoot141@gmail.com> | 2022-02-11 14:58:20 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-11 14:58:20 +0900 |
commit | 362c5fb10f7fa271d1832c7210fbdb120275872a (patch) | |
tree | 6ae5f82b167e0c50a7733baa3f78ac0991af4bff /storage/spider/ha_spider.cc | |
parent | c817fda22d3a8ceba8bc0ea94dd81b42471ba7c9 (diff) | |
download | mariadb-git-362c5fb10f7fa271d1832c7210fbdb120275872a.tar.gz |
MDEV-27660 Spider: remove #ifdef SPIDER_HANDLER_START_BULK_INSERT_HAS_FLAGS (#2012)
Remove unnecessary #ifdefs and dead code in Spider.
ha_spider::start_bulk_insert without uint flags is not used because
handler::ha_start_bulk_insert calls start_bulk_insert for each storage engine
with flags. Therefore, dead code and #ifdef related to
SPIDER_HANDLER_START_BULK_INSERT_HAS_FLAGS have been removed.
Diffstat (limited to 'storage/spider/ha_spider.cc')
-rw-r--r-- | storage/spider/ha_spider.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/storage/spider/ha_spider.cc b/storage/spider/ha_spider.cc index e565d95375a..089742e2d56 100644 --- a/storage/spider/ha_spider.cc +++ b/storage/spider/ha_spider.cc @@ -8264,16 +8264,10 @@ void ha_spider::release_auto_increment() DBUG_VOID_RETURN; } -#ifdef SPIDER_HANDLER_START_BULK_INSERT_HAS_FLAGS void ha_spider::start_bulk_insert( ha_rows rows, uint flags ) -#else -void ha_spider::start_bulk_insert( - ha_rows rows -) -#endif { DBUG_ENTER("ha_spider::start_bulk_insert"); DBUG_PRINT("info",("spider this=%p", this)); |