diff options
author | unknown <gluh@mysql.com/gluh.(none)> | 2006-08-23 16:58:36 +0500 |
---|---|---|
committer | unknown <gluh@mysql.com/gluh.(none)> | 2006-08-23 16:58:36 +0500 |
commit | 0baa801e1695549454a3398169658b70860bb613 (patch) | |
tree | 5ddae72a2d08949e6f4b1da60454560198f1e679 /sql/ha_partition.h | |
parent | a649c63130c8ff09c097253a091cebfe69a5fab4 (diff) | |
download | mariadb-git-0baa801e1695549454a3398169658b70860bb613.tar.gz |
Bug#20548 Events: crash if InnoDB, multiple events, busy procedures, partitions
setup 'share' struct for all partiton file elements. It's neccessary because we use
m_file[0]->update_create_info(create_info) during ha_partition::update_create_info
and 'share' for m_file[0] should be valid
sql/ha_partition.h:
Bug#20548 Events: crash if InnoDB, multiple events, busy procedures, partitions
sql/handler.h:
Bug#20548 Events: crash if InnoDB, multiple events, busy procedures, partitions
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r-- | sql/ha_partition.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h index c62f21cfaa1..403a94a0c24 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -199,6 +199,7 @@ public: *no_parts= m_tot_parts; DBUG_RETURN(0); } + virtual void change_table_ptr(TABLE *table_arg, TABLE_SHARE *share); private: int prepare_for_delete(); int copy_partitions(ulonglong *copied, ulonglong *deleted); |