Commit a0810bcd 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 c9d570c5 4c9df4a6
...@@ -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