Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
mydump: replace generated CSV parser by a hand-written CSV parser
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytm committed Mar 2, 2020
1 parent 11e6032 commit fa277ed
Show file tree
Hide file tree
Showing 6 changed files with 330 additions and 3,684 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ checksuccess:
$(VFSGENDEV_BIN):
cd tools && $(GOBUILD) -o ../$(VFSGENDEV_BIN) github.com/shurcooL/vfsgen/cmd/vfsgendev

data_parsers: $(VFSGENDEV_BIN) lightning/mydump/parser_generated.go lightning/mydump/csv_parser_generated.go
data_parsers: $(VFSGENDEV_BIN) lightning/mydump/parser_generated.go
PATH="$(GOPATH)/bin":"$(PATH)" protoc -I. -I"$(GOPATH)/src" lightning/checkpoints/file_checkpoints.proto --gogofaster_out=.
$(VFSGENDEV_BIN) -source='"github.com/pingcap/tidb-lightning/lightning/web".Res' && mv res_vfsdata.go lightning/web/

Expand Down
Loading

0 comments on commit fa277ed

Please sign in to comment.