[MDEV-8183] Adding option mysqldump --no-data-med Created: 2015-05-19  Updated: 2015-06-16  Resolved: 2015-06-16

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients, Storage Engine - OQGRAPH, Storage Engine - Spider
Fix Version/s: 10.0.20

Type: Task Priority: Major
Reporter: VAROQUI Stephane Assignee: Sergei Golubchik
Resolution: Fixed Votes: 1
Labels: None

Sprint: 10.0.20

 Description   

Some users have reported differences moving from FederatedX to Spider , mysqldump is not exporting rows from federated.

if (!opt_no_data &&
       (!my_strcasecmp(&my_charset_latin1, table_type, "MRG_MyISAM") ||
        !strcmp(table_type,"MRG_ISAM") ||
        !strcmp(table_type,"CONNECT") ||
        !strcmp(table_type,"FEDERATED")))
     result= IGNORE_DATA;
 } 

There is probably a better way to list all med engine directly in the code, can't we add a flag to storage engine API

This task would add OQGRAPH and SPIDER test and an additional option

'm' short option is not use

 {"no-data-med", 'm', "No row information for MED storage.", &opt_no_data_med,
   &opt_no_data-med, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0, 0},

The default would not fetch federated rows



 Comments   
Comment by VAROQUI Stephane [ 2015-05-19 ]

https://github.com/MariaDB/server/pull/69/commits

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