提交 dee2edf6 编写于 作者: W wgs13579 提交者: guangshu.wgs

support temporary_table route variable

上级 90a9d6d7
...@@ -504,7 +504,8 @@ public: ...@@ -504,7 +504,8 @@ public:
static bool is_hot_modified_variable(const common::ObString &var_name); static bool is_hot_modified_variable(const common::ObString &var_name);
static bool is_last_insert_id_variable(const common::ObString &var_name) { return var_name == sql::OB_SV_LAST_INSERT_ID; } static bool is_last_insert_id_variable(const common::ObString &var_name) { return var_name == sql::OB_SV_LAST_INSERT_ID; }
static bool is_user_privilege_variable(const common::ObString &var_name) { return var_name == sql::OB_SV_PROXY_USER_PRIVILEGE; } static bool is_user_privilege_variable(const common::ObString &var_name) { return var_name == sql::OB_SV_PROXY_USER_PRIVILEGE; }
static bool is_set_trx_executed_variable(const common::ObString &var_name) { return var_name == sql::OB_SV_PROXY_SET_TRX_EXECUTED; } static bool is_set_trx_executed_variable(const common::ObString &var_name) { return var_name == sql::OB_SV_PROXY_SET_TRX_EXECUTED
|| var_name == sql::OB_SV_PROXY_SESSION_TEMPORARY_TABLE_USED; }
static bool is_partition_hit_variable(const common::ObString &var_name) { return var_name == sql::OB_SV_PROXY_PARTITION_HIT; } static bool is_partition_hit_variable(const common::ObString &var_name) { return var_name == sql::OB_SV_PROXY_PARTITION_HIT; }
static bool is_global_version_variable(const common::ObString &var_name) { return var_name == sql::OB_SV_PROXY_GLOBAL_VARIABLES_VERSION; } static bool is_global_version_variable(const common::ObString &var_name) { return var_name == sql::OB_SV_PROXY_GLOBAL_VARIABLES_VERSION; }
static bool is_capability_flag_variable(const common::ObString &var_name) { return var_name == sql::OB_SV_CAPABILITY_FLAG; } static bool is_capability_flag_variable(const common::ObString &var_name) { return var_name == sql::OB_SV_CAPABILITY_FLAG; }
......
...@@ -74,6 +74,7 @@ namespace sql ...@@ -74,6 +74,7 @@ namespace sql
static const char* const OB_SV_ENABLE_PLAN_CACHE = "ob_enable_plan_cache"; static const char* const OB_SV_ENABLE_PLAN_CACHE = "ob_enable_plan_cache";
static const char* const OB_SV_ENABLE_INDEX_DIRECT_SELECT = "ob_enable_index_direct_select"; static const char* const OB_SV_ENABLE_INDEX_DIRECT_SELECT = "ob_enable_index_direct_select";
static const char* const OB_SV_PROXY_SET_TRX_EXECUTED = "ob_proxy_set_trx_executed"; static const char* const OB_SV_PROXY_SET_TRX_EXECUTED = "ob_proxy_set_trx_executed";
static const char* const OB_SV_PROXY_SESSION_TEMPORARY_TABLE_USED = "_ob_proxy_session_temporary_table_used";
static const char* const OB_SV_ENABLE_AGGREGATION_PUSHDOWN = "ob_enable_aggregation_pushdown"; static const char* const OB_SV_ENABLE_AGGREGATION_PUSHDOWN = "ob_enable_aggregation_pushdown";
static const char* const OB_SV_LAST_SCHEMA_VERSION = "ob_last_schema_version"; static const char* const OB_SV_LAST_SCHEMA_VERSION = "ob_last_schema_version";
static const char* const OB_SV_GLOBAL_DEBUG_SYNC = "ob_global_debug_sync"; static const char* const OB_SV_GLOBAL_DEBUG_SYNC = "ob_global_debug_sync";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册