Permalink
Browse files

Bug now fixed. And go test *passes*

  • Loading branch information...
marpie committed Feb 15, 2012
1 parent 23844ab commit 5ba214bf0f09640eeac8a998e8174d1d379298cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 query_parameter.go
View
@@ -19,7 +19,7 @@ type QueryParameter int
func (p QueryParameter) bind_blob(s *Statement, v []byte) error {
cs := C.CString(string(v))
defer C.free(unsafe.Pointer(cs))
- return SQLiteError(C.gosqlite3_bind_blob(s.cptr, C.int(p), unsafe.Pointer(&cs), C.int(len(v))))
+ return SQLiteError(C.gosqlite3_bind_blob(s.cptr, C.int(p), unsafe.Pointer(cs), C.int(len(v))))
}
// Bind replaces the literals placed in the SQL statement with the actual

0 comments on commit 5ba214b

Please sign in to comment.