diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-03 19:46:34 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-04-03 19:46:34 +0300 |
commit | 1f3bcff1f2d7ba50fc8e8cb2b608b8eaaec3d583 (patch) | |
tree | ad3703dfd950f929afedb8b2b4f161fb8afcf0cb /storage/federatedx | |
parent | fa147843018ba14136c0a65a2cfcf53af2938958 (diff) | |
download | mariadb-git-1f3bcff1f2d7ba50fc8e8cb2b608b8eaaec3d583.tar.gz |
Remove unused declarations
Diffstat (limited to 'storage/federatedx')
-rw-r--r-- | storage/federatedx/federatedx_io.cc | 2 | ||||
-rw-r--r-- | storage/federatedx/ha_federatedx.cc | 1 | ||||
-rw-r--r-- | storage/federatedx/ha_federatedx.h | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/storage/federatedx/federatedx_io.cc b/storage/federatedx/federatedx_io.cc index 1e0348e3bf8..5baec617cda 100644 --- a/storage/federatedx/federatedx_io.cc +++ b/storage/federatedx/federatedx_io.cc @@ -54,8 +54,6 @@ static const io_schemes_st federated_io_schemes[] = { "null", instantiate_io_null } /* must be last element */ }; -const uint federated_io_schemes_count= array_elements(federated_io_schemes); - federatedx_io::federatedx_io(FEDERATEDX_SERVER *aserver) : server(aserver), owner_ptr(0), txn_next(0), idle_next(0), active(FALSE), busy(FALSE), readonly(TRUE) diff --git a/storage/federatedx/ha_federatedx.cc b/storage/federatedx/ha_federatedx.cc index 50be6575a83..0c3d39c1ab5 100644 --- a/storage/federatedx/ha_federatedx.cc +++ b/storage/federatedx/ha_federatedx.cc @@ -337,7 +337,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/federatedx/ha_federatedx.h b/storage/federatedx/ha_federatedx.h index f3af7258623..56c34d9ef37 100644 --- a/storage/federatedx/ha_federatedx.h +++ b/storage/federatedx/ha_federatedx.h @@ -270,7 +270,6 @@ class ha_federatedx: public handler */ DYNAMIC_ARRAY results; bool position_called; - uint fetch_num; // stores the fetch num int remote_error_number; char remote_error_buf[FEDERATEDX_QUERY_BUFFER_SIZE]; bool ignore_duplicates, replace_duplicates; |