mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
use new ndb bitformat to shrink storage
This commit is contained in:
parent
b883f8fd81
commit
c794508e1f
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue