mariadb/storage/spider
Jacob Mathew 2b0c6b7aa1 MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbot
The crash occurs when a thread that is closing its connection attempts to
access Spider transaction information when another thread has freed that memory
while processing Spider plugin deinit.  This occurs because Spider does not
adjust the plugin's reference count when it sets a transaction information
pointer for the plugin.

The fix I implemented changes the way Spider sets the transaction information
pointer to use thd_set_ha_data() so that Spider's plugin reference counter is
adjusted as well.

Author:
  Jacob Mathew.

Reviewer:
  Kentoku Shiba.

Merged From:
  bb-10.3-MDEV-7914
2018-04-04 11:34:20 -07:00
..
hs_client
mysql-test/spider
scripts
CMakeLists.txt
configure.in
ha_spider.cc MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbot 2018-04-04 11:34:20 -07:00
ha_spider.h
Makefile.am
spd_conn.cc
spd_conn.h
spd_copy_tables.cc
spd_copy_tables.h
spd_db_conn.cc
spd_db_conn.h
spd_db_handlersocket.cc
spd_db_handlersocket.h
spd_db_include.h
spd_db_mysql.cc
spd_db_mysql.h
spd_db_oracle.cc Merge branch '10.2' into 10.3 2018-03-28 17:31:57 +02:00
spd_db_oracle.h
spd_direct_sql.cc MDEV-10991: Server crashes in spider_udf_direct_sql_create_conn - tests in spider/oracle* suites crash the server 2018-04-02 19:12:12 -07:00
spd_direct_sql.h
spd_environ.h
spd_err.h
spd_group_by_handler.cc
spd_group_by_handler.h
spd_i_s.cc
spd_include.h Move alter partition flags to alter_info->partition_flags 2018-03-29 13:59:41 +03:00
spd_malloc.cc
spd_malloc.h MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbot 2018-04-03 18:41:39 -07:00
spd_param.cc
spd_param.h
spd_ping_table.cc
spd_ping_table.h
spd_sys_table.cc Merge branch '10.2' into 10.3 2018-03-28 17:31:57 +02:00
spd_sys_table.h
spd_table.cc MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbot 2018-04-03 18:41:39 -07:00
spd_table.h
spd_trx.cc MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbot 2018-04-03 18:41:39 -07:00
spd_trx.h
spd_udf.cc
spd_udf.def
spd_udf.h