Skip to content

Commit

Permalink
Fix #27
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed Jun 19, 2014
1 parent 68cfd97 commit ed4a5c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oci8.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ func (s *OCI8Stmt) Query(args []driver.Value) (rows driver.Rows, err error) {
C.OCIAttrSet(s.s, C.OCI_HTYPE_STMT, unsafe.Pointer(&prefetch_memory), 0, C.OCI_ATTR_PREFETCH_MEMORY, (*C.OCIError)(s.c.err))

rv := C.OCIStmtExecute(
(*C.OCIServer)(s.c.svc),
(*C.OCISvcCtx)(s.c.svc),
(*C.OCIStmt)(s.s),
(*C.OCIError)(s.c.err),
iter,
Expand Down Expand Up @@ -542,7 +542,7 @@ func (s *OCI8Stmt) Exec(args []driver.Value) (r driver.Result, err error) {
defer freeBoundParameters()

rv := C.OCIStmtExecute(
(*C.OCIServer)(s.c.svc),
(*C.OCISvcCtx)(s.c.svc),
(*C.OCIStmt)(s.s),
(*C.OCIError)(s.c.err),
1,
Expand Down

0 comments on commit ed4a5c2

Please sign in to comment.