[MDEV-7704] Spiral patch 006_mariadb-10.0.15.direct_update_rows.diff Created: 2015-03-11  Updated: 2017-12-03  Resolved: 2017-11-16

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Spider
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Sergey Vojtovich Assignee: Michael Widenius
Resolution: Fixed Votes: 0
Labels: spiral_p06

Attachments: File 006_mariadb-10.0.15.direct_update_rows.diff    
Epic Link: Spiral patches

 Description   

Description:
This patch is for send updating(deleting) sql to remote server directly threw FDW type storage engine like Spider.
Detail:
Add handler::ha_direct_update_rows_init(), handler::ha_direct_update_rows(), handler::ha_direct_update_row_binlog(), handler::ha_direct_delete_rows_init(), handler::ha_direct_delete_rows() and handler::
+ha_direct_delete_row_binlog() for direct updating(deleting).
handler::ha_direct_update_rows_init() and handler::ha_direct_delete_rows_init() are used for asking to handler "is this sql possible to do direct updating(deleting)?".
handler::ha_direct_update_rows() and handler::ha_direct_delete_rows() are used for executing updating(deleting).
handler::ha_direct_update_row_binlog() and handler::ha_direct_delete_row_binlog() are used for writing row base binary log.



 Comments   
Comment by Jacob Mathew (Inactive) [ 2017-06-02 ]

Commit edee2c1 integrates Spiral patches 006, 008, 010, 011, 027 and 061, for adding direct update/delete to the handler and to the partition engine, in branch bb-10.2-spider-extra-jacob.

Comment by Jacob Mathew (Inactive) [ 2017-09-20 ]

The review comments for integrating Spiral patches 006, 008, 010, 011, 027 and 061, for adding direct update/delete to the server and to the partition engine, are incorporated in commit 26211d5 in branch bb-10.2-spider-extra-jacob.

Comment by Michael Widenius [ 2017-11-16 ]

Pushed to bb-10.2-spider

Generated at Thu Feb 08 07:21:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.