diff options
author | mskold@mysql.com <> | 2005-01-04 14:20:18 +0100 |
---|---|---|
committer | mskold@mysql.com <> | 2005-01-04 14:20:18 +0100 |
commit | 435148089818e2d806f955fd2112615767fbd9f4 (patch) | |
tree | 999241282fe4fa61367c8d7ae0e46c6b25608f0f /sql/ha_ndbcluster.h | |
parent | d125c6f06c94c4cbcf4ded8d136fb3ea5bc96194 (diff) | |
download | mariadb-git-435148089818e2d806f955fd2112615767fbd9f4.tar.gz |
Added support for different int sizes in condition pushdown
Diffstat (limited to 'sql/ha_ndbcluster.h')
-rw-r--r-- | sql/ha_ndbcluster.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index 3ca749c2d75..40dff8ef525 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -103,6 +103,11 @@ class Ndb_item { Ndb_item(Item_func::Functype func_type); ~Ndb_item(); void print(String *str); + bool isBig() + { + enum_field_types type= value.field_value->field->type(); + return (type == MYSQL_TYPE_LONGLONG || type == MYSQL_TYPE_INT24); + } // Getters and Setters longlong getIntValue() { return value.int_value; }; double getRealValue() { return value.real_value; }; |