2
0

Add ctx to PrepareEx

Remove PrepareExContext
This commit is contained in:
Jack Christensen
2017-05-20 18:03:59 -05:00
parent d1fd222ca5
commit 8a7165dd98
7 changed files with 16 additions and 18 deletions
+1 -1
View File
@@ -386,7 +386,7 @@ func (c *Conn) QueryEx(ctx context.Context, sql string, options *QueryExOptions,
ps, ok := c.preparedStatements[sql]
if !ok {
var err error
ps, err = c.PrepareExContext(ctx, "", sql, nil)
ps, err = c.PrepareEx(ctx, "", sql, nil)
if err != nil {
rows.fatal(err)
return rows, rows.err