diff --git a/README.md b/README.md index 4e2cb07..0b7467d 100644 --- a/README.md +++ b/README.md @@ -259,7 +259,7 @@ sparklines: ## Real-world recipes ### 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.
MySQL diff --git a/data/int_shell.go b/data/int_shell.go index f42d9eb..ce539f8 100644 --- a/data/int_shell.go +++ b/data/int_shell.go @@ -106,7 +106,7 @@ func (s *BasicInteractiveShell) execute() (string, error) { if errorText.Len() > 0 { return "", errors.New(errorText.String()) } else { - return resultText.String(), nil + return s.item.transform(resultText.String()) } } }