forked from mirror/go-sqlite3
Add int32 type, close #55
This commit is contained in:
parent
bbd33c0ffc
commit
d9f6dadfbf
|
@ -252,6 +252,8 @@ func (s *SQLiteStmt) bind(args []driver.Value) error {
|
|||
}
|
||||
case int:
|
||||
rv = C.sqlite3_bind_int(s.s, n, C.int(v))
|
||||
case int32:
|
||||
rv = C.sqlite3_bind_int(s.s, n, C.int(v))
|
||||
case int64:
|
||||
rv = C.sqlite3_bind_int64(s.s, n, C.sqlite3_int64(v))
|
||||
case byte:
|
||||
|
|
Loading…
Reference in New Issue