summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-04-03 19:46:34 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-04-03 19:46:34 +0300
commit1f3bcff1f2d7ba50fc8e8cb2b608b8eaaec3d583 (patch)
treead3703dfd950f929afedb8b2b4f161fb8afcf0cb /sql
parentfa147843018ba14136c0a65a2cfcf53af2938958 (diff)
downloadmariadb-git-1f3bcff1f2d7ba50fc8e8cb2b608b8eaaec3d583.tar.gz
Remove unused declarations
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_signal.cc14
-rw-r--r--sql/wsrep_sst.cc2
2 files changed, 0 insertions, 16 deletions
diff --git a/sql/sql_signal.cc b/sql/sql_signal.cc
index 5f4862f173c..1b7edbee54a 100644
--- a/sql/sql_signal.cc
+++ b/sql/sql_signal.cc
@@ -63,20 +63,6 @@ const LEX_STRING Diag_condition_item_names[]=
{ C_STRING_WITH_LEN("TRIGGER_SCHEMA") }
};
-const LEX_STRING Diag_statement_item_names[]=
-{
- { C_STRING_WITH_LEN("NUMBER") },
- { C_STRING_WITH_LEN("MORE") },
- { C_STRING_WITH_LEN("COMMAND_FUNCTION") },
- { C_STRING_WITH_LEN("COMMAND_FUNCTION_CODE") },
- { C_STRING_WITH_LEN("DYNAMIC_FUNCTION") },
- { C_STRING_WITH_LEN("DYNAMIC_FUNCTION_CODE") },
- { C_STRING_WITH_LEN("ROW_COUNT") },
- { C_STRING_WITH_LEN("TRANSACTIONS_COMMITTED") },
- { C_STRING_WITH_LEN("TRANSACTIONS_ROLLED_BACK") },
- { C_STRING_WITH_LEN("TRANSACTION_ACTIVE") }
-};
-
Set_signal_information::Set_signal_information(
const Set_signal_information& set)
diff --git a/sql/wsrep_sst.cc b/sql/wsrep_sst.cc
index addbfeb99f6..a54b96a4aa2 100644
--- a/sql/wsrep_sst.cc
+++ b/sql/wsrep_sst.cc
@@ -184,8 +184,6 @@ bool wsrep_sst_donor_update (sys_var *self, THD* thd, enum_var_type type)
return 0;
}
-static wsrep_uuid_t cluster_uuid = WSREP_UUID_UNDEFINED;
-
bool wsrep_before_SE()
{
return (wsrep_provider != NULL