Skip to content

Commit

Permalink
Merge pull request #17162 from rampage644/issue17134
Browse files Browse the repository at this point in the history
sql, tests: change empty strings rendering in sqllogictest suite
  • Loading branch information
knz authored Jul 25, 2017
2 parents 3758800 + 867b9b1 commit cfabc0c
Show file tree
Hide file tree
Showing 41 changed files with 2,025 additions and 2,021 deletions.
4 changes: 4 additions & 0 deletions pkg/sql/logictest/logic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1287,6 +1287,10 @@ func (t *logicTest) execQuery(query logicQuery) error {
val = str
}
}
// Empty strings are rendered as "·" (middle dot)
if val == "" {
val = "·"
}
// We split string results on whitespace and append a separate result
// for each string. A bit unusual, but otherwise we can't match strings
// containing whitespace.
Expand Down
Loading

0 comments on commit cfabc0c

Please sign in to comment.