Commit 527b18aa authored by unknown's avatar unknown

wl2126 - ndb - merge and ifdef still waiting for inge


sql/ha_ndbcluster.cc:
  #ifdef on key_multi_range
sql/ha_ndbcluster.h:
  Use forward declarations for key_multi_range
parent ae971ecd
...@@ -4794,6 +4794,7 @@ int ha_ndbcluster::write_ndb_file() ...@@ -4794,6 +4794,7 @@ int ha_ndbcluster::write_ndb_file()
DBUG_RETURN(error); DBUG_RETURN(error);
} }
#ifdef key_multi_range
int int
ha_ndbcluster::read_multi_range_first(key_multi_range **found_range_p, ha_ndbcluster::read_multi_range_first(key_multi_range **found_range_p,
key_multi_range *ranges, key_multi_range *ranges,
...@@ -5135,5 +5136,6 @@ ha_ndbcluster::setup_recattr(const NdbRecAttr* curr) ...@@ -5135,5 +5136,6 @@ ha_ndbcluster::setup_recattr(const NdbRecAttr* curr)
DBUG_RETURN(0); DBUG_RETURN(0);
} }
#endif
#endif /* HAVE_NDBCLUSTER_DB */ #endif /* HAVE_NDBCLUSTER_DB */
...@@ -113,10 +113,10 @@ class ha_ndbcluster: public handler ...@@ -113,10 +113,10 @@ class ha_ndbcluster: public handler
/** /**
* Multi range stuff * Multi range stuff
*/ */
int read_multi_range_first(key_multi_range **found_range_p, int read_multi_range_first(struct key_multi_range **found_range_p,
key_multi_range *ranges, uint range_count, struct key_multi_range *ranges, uint range_count,
bool sorted, handler_buffer *buffer); bool sorted, struct handler_buffer *buffer);
int read_multi_range_next(key_multi_range **found_range_p); int read_multi_range_next(struct key_multi_range **found_range_p);
bool get_error_message(int error, String *buf); bool get_error_message(int error, String *buf);
void info(uint); void info(uint);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment