1
0
Fork 0

Merge pull request #218 from rqlite/skip_load_blank

Skip loading blank lines
master
Philip O'Toole 8 years ago committed by GitHub
commit 9f7117828d

@ -470,8 +470,11 @@ func (s *Store) Load(r io.Reader, sz int) (int64, error) {
cmd == "COMMIT" {
continue
}
if cmd == "" && err == io.EOF {
break
if cmd == "" {
if err == io.EOF {
break
}
continue
}
queries = append(queries, cmd)

Loading…
Cancel
Save