Merge pilot.mysql.com:/data/msvensson/mysql/bug19911/my51-bug19911

into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-build
This commit is contained in:
msvensson@pilot.mysql.com 2008-02-06 12:52:11 +01:00
commit 6ee61e1196

View file

@ -1002,7 +1002,7 @@ static void ndbcluster_get_schema(NDB_SHARE *share,
uint blob_len= field_blob->get_length((*field)->ptr);
uchar *blob_ptr= 0;
field_blob->get_ptr(&blob_ptr);
assert(blob_len == 0 || blob_ptr != 0);
DBUG_ASSERT(blob_len == 0 || blob_ptr != 0);
s->query_length= blob_len;
s->query= sql_strmake((char*) blob_ptr, blob_len);
}