mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-29 08:18:27 +00:00
don't log ascii in binary at sql trace...
This commit is contained in:
parent
6424117852
commit
85bce11964
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ func (in *traceInterceptor) RowsNext(c context.Context, rows driver.Rows, dest [
|
||||||
|
|
||||||
b := strings.Builder{}
|
b := strings.Builder{}
|
||||||
for i, val := range dest {
|
for i, val := range dest {
|
||||||
b.WriteString(fmt.Sprintf("%v", val))
|
b.WriteString(fmt.Sprintf("%q", val))
|
||||||
if i+1 <= len(dest)-1 {
|
if i+1 <= len(dest)-1 {
|
||||||
b.WriteString(" | ")
|
b.WriteString(" | ")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue