summaryrefslogtreecommitdiff
path: root/storage/federated
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 /storage/federated
parentfa147843018ba14136c0a65a2cfcf53af2938958 (diff)
downloadmariadb-git-1f3bcff1f2d7ba50fc8e8cb2b608b8eaaec3d583.tar.gz
Remove unused declarations
Diffstat (limited to 'storage/federated')
-rw-r--r--storage/federated/ha_federated.cc1
-rw-r--r--storage/federated/ha_federated.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/storage/federated/ha_federated.cc b/storage/federated/ha_federated.cc
index d234aa03eda..a0b2cb1ab3a 100644
--- a/storage/federated/ha_federated.cc
+++ b/storage/federated/ha_federated.cc
@@ -408,7 +408,6 @@ static const int bulk_padding= 64; // bytes "overhead" in packet
/* Variables used when chopping off trailing characters */
static const uint sizeof_trailing_comma= sizeof(", ") - 1;
-static const uint sizeof_trailing_closeparen= sizeof(") ") - 1;
static const uint sizeof_trailing_and= sizeof(" AND ") - 1;
static const uint sizeof_trailing_where= sizeof(" WHERE ") - 1;
diff --git a/storage/federated/ha_federated.h b/storage/federated/ha_federated.h
index a23375cbe58..78f959634da 100644
--- a/storage/federated/ha_federated.h
+++ b/storage/federated/ha_federated.h
@@ -89,7 +89,6 @@ class ha_federated: public handler
*/
DYNAMIC_ARRAY results;
bool position_called, table_will_be_deleted;
- uint fetch_num; // stores the fetch num
MYSQL_ROW_OFFSET current_position; // Current position used by ::position()
int remote_error_number;
char remote_error_buf[FEDERATED_QUERY_BUFFER_SIZE];