small cleanups

This commit is contained in:
2022-12-23 20:27:21 +01:00
parent 56d9f977ae
commit cebb2ae2b6
9 changed files with 46 additions and 113 deletions

View File

@@ -216,7 +216,7 @@ func (pp *DBPreprocessor) PreQuery(ctx context.Context, txID *uint16, sql *strin
pp.cacheQuery[sqlOriginal] = newSQL
pp.lock.Unlock()
log.Debug().Msgf("Preprocessed SQL statement from '%s' --to--> '%s'", sqlOriginal, newSQL)
log.Debug().Msgf("Preprocessed SQL statement from\n'%s'\n--to-->\n'%s'", sqlOriginal, newSQL)
*sql = newSQL
return nil