From 5926602aa76e2cd150f49906b9464dc011618ed1 Mon Sep 17 00:00:00 2001 From: "stewart@willster.(none)" <> Date: Mon, 23 Oct 2006 23:46:35 +1000 Subject: 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) --- sql/ha_ndbcluster.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sql/ha_ndbcluster.h') 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(); -- cgit v1.2.1