Skip to content

Commit

Permalink
include pk + len(columns)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjordan committed Aug 8, 2018
1 parent 311f0d0 commit 933f5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compression_verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (c *CompressionVerifier) GetCompressedHashes(db *sql.DB, schema, table, pkC
// Decompress applicable columns and hash the resulting column values for comparison
resultSet := make(map[uint64][]byte)
for rows.Next() {
rowData, err := ScanByteRow(rows, len(columns))
rowData, err := ScanByteRow(rows, len(columns)+1)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 933f5c8

Please sign in to comment.