mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Bug#39084: Getting intermittent errors with statement-based binary logging
Problem was that partitioning cached the table flags. These flags could change due to TRANSACTION LEVEL changes. Solution was to remove the cache and always return the table flags from the first partition (if the handler was initialized).
This commit is contained in:
@@ -263,7 +263,7 @@ handler *get_ha_partition(partition_info *part_info)
|
||||
DBUG_ENTER("get_ha_partition");
|
||||
if ((partition= new ha_partition(partition_hton, part_info)))
|
||||
{
|
||||
if (partition->initialise_partition(current_thd->mem_root))
|
||||
if (partition->initialize_partition(current_thd->mem_root))
|
||||
{
|
||||
delete partition;
|
||||
partition= 0;
|
||||
|
||||
Reference in New Issue
Block a user