output of constraints_parser does not match with LOAD DATA INFILE command

Bug #911656 reported by shinguz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Data Recovery Tool for InnoDB
Fix Committed
Wishlist
Unassigned

Bug Description

./constraints_parser -5 -f pages-1325597988/FIL_PAGE_INDEX/0-763/9600-00010240.page > /tmp/test.csv

LOAD DATA INFILE '/tmp/percona-data-recovery-tool-for-innodb-0.5/dumps/default/test' REPLACE INTO TABLE `test` FIELDS TERMINATED BY '\t' OPTIONALLY ENCLOSED BY '"' LINES STARTING BY 'test\t' (bla, bla, bla, drop, bla, bla);

LOAD DATA INFILE is accessing a file which does not exist. It would be nice it would match something like:

./constraints_parser -5 -f pages-1325597988/FIL_PAGE_INDEX/0-763/9600-00010240.page --output=/tmp/test.csv

LOAD DATA INFILE '/tmp/test.csv' REPLACE INTO TABLE `test` FIELDS TERMINATED BY '\t' OPTIONALLY ENCLOSED BY '"' LINES STARTING BY 'test\t' (bla, bla, bla, drop, bla, bla);

Changed in percona-data-recovery-tool-for-innodb:
importance: Undecided → Wishlist
Changed in percona-data-recovery-tool-for-innodb:
status: New → In Progress
Revision history for this message
Aleksandr Kuzminsky (akuzminsky) wrote :

implemented -o option in rev 48

Changed in percona-data-recovery-tool-for-innodb:
status: In Progress → 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.