Add int32 type, close #55

This commit is contained in:
mattn 2013-04-08 17:38:30 +09:00
parent bbd33c0ffc
commit d9f6dadfbf
1 changed files with 2 additions and 0 deletions

View File

@ -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: