Skip to content

Commit

Permalink
Merge pull request #638 from upper/issue-637_fix-forced-cache-skipping
Browse files Browse the repository at this point in the history
Fix condition that forced the statement cache to be skipped
  • Loading branch information
xiam authored Dec 11, 2021
2 parents cb7617e + dd3c406 commit 26e1022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sqladapter/exql/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (layout *Template) MustCompile(templateText string, data interface{}) strin
var b bytes.Buffer

v, ok := layout.getTemplate(templateText)
if !ok || true {
if !ok {
v = template.
Must(template.New("").
Funcs(map[string]interface{}{
Expand Down

0 comments on commit 26e1022

Please sign in to comment.