diff options
author | Kentoku <kentokushiba@gmail.com> | 2019-11-29 08:22:13 +0900 |
---|---|---|
committer | Kentoku <kentokushiba@gmail.com> | 2019-11-29 23:23:57 +0900 |
commit | e066723a4149b05f212850dcf8ecf55b3ce2524d (patch) | |
tree | f790ac3d0bff3938429eefb8c20900e310fcec40 /sql/ha_partition.h | |
parent | 3826178da89f987ebf641bcd92d4a714d51b3ecb (diff) | |
download | mariadb-git-e066723a4149b05f212850dcf8ecf55b3ce2524d.tar.gz |
MDEV-18973 CLIENT_FOUND_ROWS wrong in spiderbb-10.4-MDEV-18973_2
Get count from last_used_con->info
Contributed by willhan at Tencent Games
Diffstat (limited to 'sql/ha_partition.h')
-rw-r--r-- | sql/ha_partition.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/ha_partition.h b/sql/ha_partition.h index 598c63837c7..17a41b0728a 100644 --- a/sql/ha_partition.h +++ b/sql/ha_partition.h @@ -391,6 +391,9 @@ private: part_share->next_auto_inc_val= part_share->prev_auto_inc_val; handler::restore_auto_increment(); } + void sum_copy_info(handler *file); + void sum_copy_infos(); + void reset_copy_info(); /** Temporary storage for new partitions Handler_shares during ALTER */ List<Parts_share_refs> m_new_partitions_share_refs; /** Sorted array of partition ids in descending order of number of rows. */ @@ -657,7 +660,7 @@ public: virtual int update_row(const uchar * old_data, const uchar * new_data); virtual int direct_update_rows_init(List<Item> *update_fields); virtual int pre_direct_update_rows_init(List<Item> *update_fields); - virtual int direct_update_rows(ha_rows *update_rows); + virtual int direct_update_rows(ha_rows *update_rows, ha_rows *found_rows); virtual int pre_direct_update_rows(); virtual bool start_bulk_delete(); virtual int end_bulk_delete(); |