summaryrefslogtreecommitdiffstats
path: root/storage/spider/spd_db_mysql.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/spider/spd_db_mysql.h')
-rw-r--r--storage/spider/spd_db_mysql.h52
1 files changed, 14 insertions, 38 deletions
diff --git a/storage/spider/spd_db_mysql.h b/storage/spider/spd_db_mysql.h
index ec72a97f..9ccc0e33 100644
--- a/storage/spider/spd_db_mysql.h
+++ b/storage/spider/spd_db_mysql.h
@@ -158,40 +158,22 @@ public:
spider_string *to,
String *from
) override;
- int append_table(
- ha_spider *spider,
- spider_fields *fields,
- spider_string *str,
- TABLE_LIST *table_list,
- TABLE_LIST **used_table_list,
- uint *current_pos,
- TABLE_LIST **cond_table_list_ptr,
- bool top_down,
- bool first
- );
- int append_tables_top_down(
- ha_spider *spider,
- spider_fields *fields,
- spider_string *str,
- TABLE_LIST *table_list,
- TABLE_LIST **used_table_list,
- uint *current_pos,
- TABLE_LIST **cond_table_list_ptr
- );
int append_tables_top_down_check(
TABLE_LIST *table_list,
TABLE_LIST **used_table_list,
uint *current_pos
);
- int append_embedding_tables(
- ha_spider *spider,
- spider_fields *fields,
- spider_string *str,
- TABLE_LIST *table_list,
- TABLE_LIST **used_table_list,
- uint *current_pos,
- TABLE_LIST **cond_table_list_ptr
- );
+ int append_table_list(spider_fields *fields,
+ spider_string *str, TABLE_LIST *table,
+ table_map *upper_usable_tables,
+ table_map eliminated_tables);
+ int append_table_array(spider_fields *fields,
+ spider_string *str, TABLE_LIST **table,
+ TABLE_LIST **end, table_map *upper_usable_tables,
+ table_map eliminated_tables);
+ int append_join(spider_fields *fields, spider_string *str,
+ List<TABLE_LIST> *tables, table_map *upper_usable_tables,
+ table_map eliminated_tables);
int append_from_and_tables(
ha_spider *spider,
spider_fields *fields,
@@ -199,11 +181,6 @@ public:
TABLE_LIST *table_list,
uint table_count
) override;
- int reappend_tables(
- spider_fields *fields,
- SPIDER_LINK_IDX_CHAIN *link_idx_chain,
- spider_string *str
- ) override;
int append_where(
spider_string *str
) override;
@@ -634,8 +611,11 @@ public:
spider_string *show_table_status;
spider_string *show_records;
spider_string *show_index;
+ /* The remote table names */
spider_string *table_names_str;
+ /* The remote db names */
spider_string *db_names_str;
+ /* fixme: this field looks useless */
spider_string *db_table_str;
my_hash_value_type *db_table_str_hash_value;
uint table_nm_max_length;
@@ -1485,10 +1465,6 @@ public:
spider_fields *fields,
ulong sql_type
);
- int reappend_tables_part(
- spider_fields *fields,
- ulong sql_type
- );
int append_where_part(
ulong sql_type
);