summaryrefslogtreecommitdiff
path: root/ndb/include
diff options
context:
space:
mode:
authorunknown <mskold@mysql.com>2006-05-30 13:20:38 +0200
committerunknown <mskold@mysql.com>2006-05-30 13:20:38 +0200
commitf982aa934a1d43b2db2eecdf8dfbd2ceb5d49961 (patch)
tree53e249892e3340722c48b7ecca3124c706ccd085 /ndb/include
parentf27a0eed21da5053b5d7b5baa217ca4b87f6a3e5 (diff)
parentcba185d9243561630b067c1d117759c71db75e2a (diff)
downloadmariadb-git-f982aa934a1d43b2db2eecdf8dfbd2ceb5d49961.tar.gz
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/marty/MySQL/mysql-4.1 sql/ha_ndbcluster.cc: Auto merged
Diffstat (limited to 'ndb/include')
-rw-r--r--ndb/include/ndbapi/NdbDictionary.hpp23
1 files changed, 20 insertions, 3 deletions
diff --git a/ndb/include/ndbapi/NdbDictionary.hpp b/ndb/include/ndbapi/NdbDictionary.hpp
index a541cd5190e..196fd99d09d 100644
--- a/ndb/include/ndbapi/NdbDictionary.hpp
+++ b/ndb/include/ndbapi/NdbDictionary.hpp
@@ -956,14 +956,14 @@ public:
/**
* Create defined table given defined Table instance
- * @param Table Table to create
+ * @param Table instance to create
* @return 0 if successful otherwise -1.
*/
int createTable(const Table &);
/**
* Drop table given retrieved Table instance
- * @param Table Table to drop
+ * @param Table instance to drop
* @return 0 if successful otherwise -1.
*/
int dropTable(Table &);
@@ -1027,7 +1027,15 @@ public:
*/
int dropIndex(const char * indexName,
const char * tableName);
-
+
+
+ /**
+ * Drop index the defined Index instance
+ * @param Index to drop
+ * @return 0 if successful otherwise -1.
+ */
+ int dropIndex(const Index &);
+
/**
* Get index with given name, NULL if undefined
* @param indexName Name of index to get.
@@ -1037,6 +1045,15 @@ public:
const Index * getIndex(const char * indexName,
const char * tableName);
+ /**
+ * Get index with given name, NULL if undefined
+ * @param indexName Name of index to get.
+ * @param Table instance table that index belongs to.
+ * @return index if successful, otherwise 0.
+ */
+ const Index * getIndex(const char * indexName,
+ const Table & table);
+
#ifndef DOXYGEN_SHOULD_SKIP_INTERNAL
/**
* Invalidate cached index object