summaryrefslogtreecommitdiff
path: root/sql/ha_federated.h
diff options
context:
space:
mode:
authorunknown <patg@krsna.patg.net>2005-02-16 23:07:10 -0800
committerunknown <patg@krsna.patg.net>2005-02-16 23:07:10 -0800
commitbc4301740d12000790457096589edb86679aa9c6 (patch)
tree58e5bc0ef5c5f67484ce05cf1609b07608e3ccc8 /sql/ha_federated.h
parent300dde3d114cb831e3fba174079563077232d72d (diff)
downloadmariadb-git-bc4301740d12000790457096589edb86679aa9c6.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 sql/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() sql/ha_federated.h: declaration of federated_db_init() and federated_db_end() sql/handler.cc: Added hooks for federated_db_init() and federated_db_end(), as done with ha_archive_db does.
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);