summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster.cc
diff options
context:
space:
mode:
authorunknown <mskold@mysql.com>2006-03-28 09:59:20 +0200
committerunknown <mskold@mysql.com>2006-03-28 09:59:20 +0200
commit3372c31d12f30621c9cacd9b0e91044fc917a846 (patch)
treeeb0cdaa00dfd365d50ee27b72e1df10ab3aa0318 /sql/ha_ndbcluster.cc
parent2568c2cfed7fc94ce63e7f7be87d48d7181fe182 (diff)
downloadmariadb-git-3372c31d12f30621c9cacd9b0e91044fc917a846.tar.gz
Fix for Bug #15722 Engine_condition_pushdown fails when using blobs(text)
Diffstat (limited to 'sql/ha_ndbcluster.cc')
-rw-r--r--sql/ha_ndbcluster.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc
index 692d62574f3..14bdb529aee 100644
--- a/sql/ha_ndbcluster.cc
+++ b/sql/ha_ndbcluster.cc
@@ -6587,7 +6587,10 @@ void ndb_serialize_cond(const Item *item, void *arg)
context->expecting_field_result(INT_RESULT))
: true)) &&
// Bit fields no yet supported in scan filter
- type != MYSQL_TYPE_BIT)
+ type != MYSQL_TYPE_BIT &&
+ // No BLOB support in scan filter
+ type != MYSQL_TYPE_TINY_BLOB &&
+ type != MYSQL_TYPE_BLOB)
{
const NDBCOL *col= tab->getColumn(field->field_name);
DBUG_ASSERT(col);