Commit e8af867f authored by tomas@poseidon.ndb.mysql.com's avatar tomas@poseidon.ndb.mysql.com

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

into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
parents 3605cead c794508e
...@@ -3331,7 +3331,10 @@ static int create_ndb_column(NDBCOL &col, ...@@ -3331,7 +3331,10 @@ static int create_ndb_column(NDBCOL &col,
col.setCharset(cs); col.setCharset(cs);
} }
if (field->pack_length() == 0) if (field->pack_length() == 0)
col.setLength(1); // currently ndb does not support size 0 {
col.setType(NDBCOL::Bit);
col.setLength(1);
}
else else
col.setLength(field->pack_length()); col.setLength(field->pack_length());
break; 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