Skip to content

Commit 9728725

Browse files
committed
fix
1 parent 57451ac commit 9728725

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/bind/bind.go

+5
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ func (bindings Bindings) ToYdb(sql string, args ...any) (
3434
yql string, pp params.Params, err error,
3535
) {
3636
if len(bindings) == 0 {
37+
pp, err = Params(args...)
38+
if err != nil {
39+
return "", nil, xerrors.WithStackTrace(err)
40+
}
41+
3742
return sql, pp, nil
3843
}
3944

0 commit comments

Comments
 (0)