1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Bit type support for non-MyISAM tables.

This commit is contained in:
ramil@mysql.com
2005-04-12 12:27:43 +05:00
parent 4caef066c7
commit c4376b2bc6
12 changed files with 682 additions and 23 deletions

View File

@ -568,7 +568,7 @@ int openfrm(THD *thd, const char *name, const char *alias, uint db_stat,
goto err; /* purecov: inspected */
}
reg_field->comment=comment;
if (field_type == FIELD_TYPE_BIT)
if (field_type == FIELD_TYPE_BIT && !f_bit_as_char(pack_flag))
{
if ((null_bit_pos+= field_length & 7) > 7)
{