summaryrefslogtreecommitdiff
path: root/sql/ha_federated.h
diff options
context:
space:
mode:
authorpatg@krsna.patg.net <>2005-02-16 23:07:10 -0800
committerpatg@krsna.patg.net <>2005-02-16 23:07:10 -0800
commit005deef102b04234f8613d4bf62a987f852f87b4 (patch)
tree58e5bc0ef5c5f67484ce05cf1609b07608e3ccc8 /sql/ha_federated.h
parent986e122303ae78962f9fda4dad778c5b48bf67aa (diff)
downloadmariadb-git-005deef102b04234f8613d4bf62a987f852f87b4.tar.gz
WL# 2094 Federated Storage Handler
This changeset/patch is on top of changesets 1.1814 and 1.1846 (for bugs 8033 and 8065) and now fixes bug 8535. These changes have been built and tested successfully on build.mysql.com handler.cc: Added hooks for federated_db_init() and federated_db_end(), as done with ha_archive_db does, per suggestion by Ingo in code review of patch 1.1846. ha_federated.h: declaration of federated_db_init() and federated_db_end() ha_federated.cc: - Fixed some indentation problems from indent-ex (mainly to do with cases where "variablename += value" - Added federated_db_init() and federated_db_end(), as done with archive, which also handler more elegantly one of the memory leaks from bug 8033 where the federated_mutex was not freed - Removed extrenous debug messages in parse_url() - Fixed bug 8535, caused by NULL being quoted in write_row. This used to work (incorrectly) but a recent change was made in the server that exposed this
Diffstat (limited to 'sql/ha_federated.h')
-rwxr-xr-xsql/ha_federated.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/ha_federated.h b/sql/ha_federated.h
index 6870a0902e8..04bbf2a56f6 100755
--- a/sql/ha_federated.h
+++ b/sql/ha_federated.h
@@ -174,3 +174,6 @@ public:
THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to,
enum thr_lock_type lock_type); //required
};
+
+bool federated_db_init(void);
+bool federated_db_end(void);