Unsupported type: BIT(1)
Bug #929407 reported by
Nico
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 };
}
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.
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.