diff options
author | unknown <serg@serg.mylan> | 2005-02-17 22:52:40 +0100 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2005-02-17 22:52:40 +0100 |
commit | e31ffa246fa01610c7bb1f9629d95d3cb5283c81 (patch) | |
tree | 69754bd181cb50e10c039823f974f704f477ef27 /sql/ha_ndbcluster.h | |
parent | 7aa1d93fd480dfa0a416a85284a4fd62cc0c9b88 (diff) | |
download | mariadb-git-e31ffa246fa01610c7bb1f9629d95d3cb5283c81.tar.gz |
making XA tree to compile (and pass tests) in -max build
sql/ha_ndbcluster.cc:
incorporating changes from Martin
sql/ha_ndbcluster.h:
incorporating changes from Martin
sql/item_func.h:
remove a warning
sql/sql_yacc.yy:
remove a warning
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index b27908c20ea..10ee568df69 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -74,6 +74,8 @@ class Thd_ndb { Ndb *ndb; ulong count; uint lock_count; + NdbTransaction *all; + NdbTransaction *stmt; int error; }; @@ -286,14 +288,9 @@ private: extern struct show_var_st ndb_status_variables[]; -bool ndbcluster_init(void); +handlerton *ndbcluster_init(void); bool ndbcluster_end(void); -int ndbcluster_commit(THD *thd, void* ndb_transaction); -int ndbcluster_rollback(THD *thd, void* ndb_transaction); - -void ndbcluster_close_connection(THD *thd); - int ndbcluster_discover(THD* thd, const char* dbname, const char* name, const void** frmblob, uint* frmlen); int ndbcluster_find_files(THD *thd,const char *db,const char *path, |