Fix for Bug #15722 Engine_condition_pushdown fails when using blobs(text)

This commit is contained in:
unknown 2006-03-28 09:59:20 +02:00
commit 3372c31d12
3 changed files with 32 additions and 3 deletions

View file

@ -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);