diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2017-09-13 10:57:23 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2017-09-13 10:57:46 +0300 |
commit | 7e764ae188efe3f866222eb393513bf30e2b75ab (patch) | |
tree | 980d22e9daa77a88898b8ae4273e396f3105dd7a /sql/ha_partition.h | |
parent | 78d2430aa22eac6e6b6e24b8776290d4d939a236 (diff) | |
download | mariadb-git-7e764ae188efe3f866222eb393513bf30e2b75ab.tar.gz |
SQL: 1-row partition rotation fix [fixes #260]
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r-- | sql/ha_partition.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h index 0eb96aa2d00..df5a3544a30 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -1368,7 +1368,7 @@ public: { handler *file= m_file[part_id]; DBUG_ASSERT(bitmap_is_set(&(m_part_info->read_partitions), part_id)); - file->info(HA_STATUS_VARIABLE | HA_STATUS_NO_LOCK); + file->info(HA_STATUS_OPEN | HA_STATUS_VARIABLE | HA_STATUS_NO_LOCK); part_recs+= file->stats.records; } return part_recs; |