restore transform for basic interactive shell

This commit is contained in:
sqshq 2019-06-22 20:18:06 -04:00
parent f4191882f6
commit 7356f2959f
2 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@ sparklines:
## Real-world recipes ## Real-world recipes
### Databases ### Databases
The following are different databases connection examples. Interactive shell (init script) usage is recommended to establish connection only once and then reuse it during sampling. The following are different database connection examples. Interactive shell (init script) usage is recommended to establish connection only once and then reuse it during sampling.
<details><summary>MySQL</summary> <details><summary>MySQL</summary>

View File

@ -106,7 +106,7 @@ func (s *BasicInteractiveShell) execute() (string, error) {
if errorText.Len() > 0 { if errorText.Len() > 0 {
return "", errors.New(errorText.String()) return "", errors.New(errorText.String())
} else { } else {
return resultText.String(), nil return s.item.transform(resultText.String())
} }
} }
} }