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

into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
This commit is contained in:
unknown 2004-12-09 14:20:20 +01:00
commit 368521d06f

View file

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