summaryrefslogtreecommitdiff
path: root/storage/spider/spd_db_mysql.h
diff options
context:
space:
mode:
authorKentoku SHIBA <kentokushiba@gmail.com>2013-09-17 03:19:55 +0900
committerKentoku SHIBA <kentokushiba@gmail.com>2013-09-17 03:19:55 +0900
commite9d53a384cdfd4174bc1c69100cf04006d217ec7 (patch)
treed9282302380ecab5b36e1cbe55544ef1c9b5f507 /storage/spider/spd_db_mysql.h
parent74bea98ea50ff82a9b6c7b39da26bfc4a4aa79d6 (diff)
downloadmariadb-git-e9d53a384cdfd4174bc1c69100cf04006d217ec7.tar.gz
fix a case of different linked table name for mrr.
Diffstat (limited to 'storage/spider/spd_db_mysql.h')
-rw-r--r--storage/spider/spd_db_mysql.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/storage/spider/spd_db_mysql.h b/storage/spider/spd_db_mysql.h
index 96436a90b7b..71d6a262cf8 100644
--- a/storage/spider/spd_db_mysql.h
+++ b/storage/spider/spd_db_mysql.h
@@ -521,6 +521,8 @@ class spider_mysql_handler: public spider_db_handler
#if defined(HS_HAS_SQLCOM) && defined(HAVE_HANDLERSOCKET)
SPIDER_DB_HS_STRING_REF_BUFFER hs_upds;
#endif
+ SPIDER_INT_HLD *union_table_name_pos_first;
+ SPIDER_INT_HLD *union_table_name_pos_current;
public:
spider_mysql_share *mysql_share;
SPIDER_LINK_FOR_HASH *link_for_hash;
@@ -1249,6 +1251,13 @@ public:
void copy_minimum_select_bitmap(
uchar *bitmap
);
+ int init_union_table_name_pos();
+ int set_union_table_name_pos();
+ int reset_union_table_name(
+ spider_string *str,
+ int link_idx,
+ ulong sql_type
+ );
};
class spider_mysql_copy_table: public spider_db_copy_table