1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Merge pull request #964 from mariadb-corporation/MCOL-3529

MCOL-3529 This patch implements direct_update and direct_delete features
This commit is contained in:
Andrew Hutchings
2019-12-09 09:40:33 +00:00
committed by GitHub
5 changed files with 73 additions and 86 deletions

View File

@ -144,12 +144,6 @@ public:
*/
void start_bulk_insert(ha_rows rows, uint flags = 0) ;
/** @brief
We implement this in ha_example.cc. It's not an obligatory method;
skip it and and MySQL will treat it as not implemented.
*/
int end_bulk_insert(bool abort) ;
/**@bug 2461 - Overloaded end_bulk_insert. MariaDB uses the abort bool, mysql does not. */
int end_bulk_insert() ;
@ -158,12 +152,16 @@ public:
skip it and and MySQL will treat it as not implemented.
*/
int update_row(const uchar* old_data, uchar* new_data);
int direct_update_rows_init(List<Item> *update_fields);
int direct_update_rows(ha_rows *update_rows);
/** @brief
We implement this in ha_example.cc. It's not an obligatory method;
skip it and and MySQL will treat it as not implemented.
*/
int delete_row(const uchar* buf);
int direct_delete_rows_init();
int direct_delete_rows(ha_rows *deleted_rows);
/** @brief
We implement this in ha_example.cc. It's not an obligatory method;