summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster_cond.h
diff options
context:
space:
mode:
authorunknown <mskold/marty@mysql.com/linux.site>2007-04-23 12:12:44 +0200
committerunknown <mskold/marty@mysql.com/linux.site>2007-04-23 12:12:44 +0200
commit417eba838417a6a5584a34fa84e0f8674a16d439 (patch)
treeebcca3dae6992075cb965eee2d4746dfe1970867 /sql/ha_ndbcluster_cond.h
parentc067b03c860b9c368b20daa27772358311cbd633 (diff)
downloadmariadb-git-417eba838417a6a5584a34fa84e0f8674a16d439.tar.gz
Changed void* to const NdbDictionary::Table*
Diffstat (limited to 'sql/ha_ndbcluster_cond.h')
-rw-r--r--sql/ha_ndbcluster_cond.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sql/ha_ndbcluster_cond.h b/sql/ha_ndbcluster_cond.h
index 5afa817fade..d4e68de6635 100644
--- a/sql/ha_ndbcluster_cond.h
+++ b/sql/ha_ndbcluster_cond.h
@@ -315,7 +315,8 @@ public:
class Ndb_cond_traverse_context : public Sql_alloc
{
public:
- Ndb_cond_traverse_context(TABLE *tab, void* ndb_tab, Ndb_cond_stack* stack)
+ Ndb_cond_traverse_context(TABLE *tab, const NdbDictionary::Table *ndb_tab,
+ Ndb_cond_stack* stack)
: table(tab), ndb_table(ndb_tab),
supported(TRUE), stack_ptr(stack), cond_ptr(NULL),
skip(0), collation(NULL), rewrite_stack(NULL)
@@ -422,7 +423,7 @@ class Ndb_cond_traverse_context : public Sql_alloc
};
TABLE* table;
- void* ndb_table;
+ const NdbDictionary::Table *ndb_table;
bool supported;
Ndb_cond_stack* stack_ptr;
Ndb_cond* cond_ptr;
@@ -445,7 +446,7 @@ public:
~ha_ndbcluster_cond()
{ if (m_cond_stack) delete m_cond_stack; }
const COND *cond_push(const COND *cond,
- TABLE *table, NdbDictionary::Table *ndb_table);
+ TABLE *table, const NdbDictionary::Table *ndb_table);
void cond_pop();
void cond_clear();
int generate_scan_filter(NdbScanOperation* op);
@@ -457,7 +458,7 @@ public:
byte *buf);
private:
bool serialize_cond(const COND *cond, Ndb_cond_stack *ndb_cond,
- TABLE *table, NdbDictionary::Table *ndb_table);
+ TABLE *table, const NdbDictionary::Table *ndb_table);
int build_scan_filter_predicate(Ndb_cond* &cond,
NdbScanFilter* filter,
bool negated= false);