Skip to content

Commit 44421b3

Browse files
committed
aligned PrepareContext with Prepare w.r.t. Stmt context interfaces
1 parent 016fb0f commit 44421b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ func (c *ocConn) PrepareContext(ctx context.Context, query string) (stmt driver.
342342
return nil, err
343343
}
344344

345-
stmt = ocStmt{parent: stmt, query: query, options: c.options}
345+
stmt = wrapStmt(stmt, query, c.options)
346346
return
347347
}
348348

0 commit comments

Comments
 (0)