create_defs.pl generates wrong template for TIME
Bug #508852 reported by
Aleksandr Kuzminsky
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Data Recovery Tool for InnoDB |
Fix Released
|
Undecided
|
Aleksandr Kuzminsky |
Bug Description
if ($type =~ /TIME/i) {
}
Changed in percona-innodb-recovery-tool: | |
status: | New → Fix Committed |
assignee: | nobody → Aleksandr Kuzminsky (akuzminsky) |
Changed in percona-data-recovery-tool-for-innodb: | |
milestone: | none → release-0.5 |
Changed in percona-data-recovery-tool-for-innodb: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
FT_DATE type is set however new type FT_TIME is needed.
TIME is stored i 3 bytes, but different encoding from DATE.
* DATE: A three-byte integer packed as DD + MM×32 + YYYY×16×32
* TIME: A three-byte integer packed as DD×24×3600 + HH×3600 + MM×60 + SS