Commit 368521d0 authored by unknown's avatar unknown

Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb

into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb

parents d25261e0 b1d69736
......@@ -3331,7 +3331,10 @@ static int create_ndb_column(NDBCOL &col,
col.setCharset(cs);
}
if (field->pack_length() == 0)
col.setLength(1); // currently ndb does not support size 0
{
col.setType(NDBCOL::Bit);
col.setLength(1);
}
else
col.setLength(field->pack_length());
break;
......
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