Unsupported type: BIT(1)

Bug #929407 reported by Nico
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Data Recovery Tool for InnoDB
Fix Committed
High
Aleksandr Kuzminsky

Bug Description

The create_defs.pl script does not support the BIT type.

In the ParseFieldType function, you need to add something like :

if ($type =~ /BIT\((\d+)\)/i) {
         return { type => 'FT_UINT', min_len => 0, max_len => $1 };
}

Revision history for this message
Nico (ndeverge) wrote :

After a test, it seems that that the correct lines to add are :

if ($type =~ /BIT\((\d+)\)/i) {
    return { type => 'FT_UINT', fixed_len => $1 };
}

See the attached patch.

Changed in percona-data-recovery-tool-for-innodb:
importance: Undecided → High
assignee: nobody → Aleksandr Kuzminsky (akuzminsky)
milestone: none → release-0.6
Changed in percona-data-recovery-tool-for-innodb:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.