TOOLS - FRM file parser / file information

Description

In and others MDEV related to wrong table engine, should be nice a tool that could read a file and show information about it
1) check if file is a FRM file
2) read information about it without mysql source code
3) read information using mysql source code

why (2) and (3) ? the 2 will read the file as a fileinfo program, the (3) will use the current mysqld source code and show how it read the file

it's a debug tool, and maybe we could put it online in mariadb.org a place where a user submit the .frm file and check the informations about that file

problems:
1) know the file format of all versions of FRM file -> for the (2) feature
2) know how mysqld read the FRM file -> for the (3) feature
3) what language? maybe c++ and c
4) if in a language different from mariadb.org we should create a webpage to upload the file, run the tool and send result back to user

Assignee

Unassigned

Reporter

Roberto Spadim

Labels

None

Time tracking

400h

Priority

Minor
Configure