summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.h
diff options
context:
space:
mode:
authorstewart@willster.(none) <>2006-10-23 23:46:35 +1000
committerstewart@willster.(none) <>2006-10-23 23:46:35 +1000
commit5926602aa76e2cd150f49906b9464dc011618ed1 (patch)
tree46a0b0d1ce4f88751d1aa2da954c9518d6d84e31 /sql/ha_ndbcluster.h
parentfc776db8e7869fcfd3b5858fe54dbf26820a32c0 (diff)
downloadmariadb-git-5926602aa76e2cd150f49906b9464dc011618ed1.tar.gz
Bug #19914 SELECT COUNT(*) sometimes returns MAX_INT on cluster tables
fixes for ndb_* tests broken by previous fix be more careful in ndb about setting errors on failure of info call (especially in open)
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r--sql/ha_ndbcluster.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h
index d747fecfba1..e3dbf5e26d0 100644
--- a/sql/ha_ndbcluster.h
+++ b/sql/ha_ndbcluster.h
@@ -153,7 +153,12 @@ class ha_ndbcluster: public handler
static void set_dbname(const char *pathname, char *dbname);
static void set_tabname(const char *pathname, char *tabname);
-
+
+ /*
+ * Internal to ha_ndbcluster, used by C functions
+ */
+ int ndb_err(NdbConnection*);
+
private:
int alter_table_name(const char *to);
int drop_table();
@@ -206,7 +211,6 @@ class ha_ndbcluster: public handler
longlong get_auto_increment();
void invalidate_dictionary_cache(bool global);
- int ndb_err(NdbConnection*);
bool uses_blob_value(bool all_fields);
int write_ndb_file();