Commit b28e9805 authored by Vladimir Barsukov's avatar Vladimir Barsukov
Browse files

fix any

parent 6ac64d7c
......@@ -10,9 +10,7 @@ import (
)
func (d *Pool) WAny(dst any, sql string, args ...any) error {
return d.execWrapper(ConnModeMaster, dst, func(conn *conn, dst1 any) error {
return d.qAny(conn, dst1, sql, args...)
})
return d.qAny(d.srvMaster, dst, sql, args...)
}
func (d *Pool) Any(dst any, sql string, args ...any) error {
return d.execWrapper(ConnModeSync, dst, func(conn *conn, dst1 any) error {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment