Commit 6ee61e11 authored by msvensson@pilot.mysql.com's avatar msvensson@pilot.mysql.com

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

into  pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-build
parents b499e62c 784eaab4
...@@ -1002,7 +1002,7 @@ static void ndbcluster_get_schema(NDB_SHARE *share, ...@@ -1002,7 +1002,7 @@ static void ndbcluster_get_schema(NDB_SHARE *share,
uint blob_len= field_blob->get_length((*field)->ptr); uint blob_len= field_blob->get_length((*field)->ptr);
uchar *blob_ptr= 0; uchar *blob_ptr= 0;
field_blob->get_ptr(&blob_ptr); 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_length= blob_len;
s->query= sql_strmake((char*) blob_ptr, blob_len); s->query= sql_strmake((char*) blob_ptr, blob_len);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment