diff options
author | unknown <stewart@willster.(none)> | 2006-10-23 23:46:35 +1000 |
---|---|---|
committer | unknown <stewart@willster.(none)> | 2006-10-23 23:46:35 +1000 |
commit | 8335ed7316e76f056dc763fd68aab9d7ca3fa8d9 (patch) | |
tree | 46a0b0d1ce4f88751d1aa2da954c9518d6d84e31 /sql/ha_ndbcluster.h | |
parent | 50fe8e0c2b4655c1ae255a98176a14b8d4d903f5 (diff) | |
download | mariadb-git-8335ed7316e76f056dc763fd68aab9d7ca3fa8d9.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)
sql/ha_ndbcluster.cc:
fix some ndb* tests failing due to fix for 19914
be more careful about setting errors on failure of info call
sql/ha_ndbcluster.h:
fix some ndb* tests failing due to fix for 19914
be more careful about setting errors on failure of info call
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 8 |
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(); |