Skip to content

Commit

Permalink
MDEV-34036 Reset spider_hton_ptr in spider_db_done()
Browse files Browse the repository at this point in the history
Otherwise spider_direct_sql may still think the spider plugin is
available even after spider_db_done() was called.
  • Loading branch information
mariadb-YuchenPei authored and vuvova committed May 7, 2024
1 parent 42c99ef commit 10a7599
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storage/spider/spd_table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6847,6 +6847,7 @@ int spider_db_done(
pthread_attr_destroy(&spider_pt_attr);
#endif

spider_hton_ptr= NULL;
for (roop_count = 0; roop_count < SPIDER_MEM_CALC_LIST_NUM; roop_count++)
{
if (spider_alloc_func_name[roop_count])
Expand Down

0 comments on commit 10a7599

Please sign in to comment.