diff options
author | mattn <mattn.jp@gmail.com> | 2013-04-08 17:38:30 +0900 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2013-04-08 17:39:03 +0900 |
commit | d9f6dadfbf7a748501f2eb8cb7a2fa4de845fedc (patch) | |
tree | 376a904097c6a0c5ca216f60082a27c321c4fcff /sqlite3.go | |
parent | Fix #54 (diff) | |
download | golite-d9f6dadfbf7a748501f2eb8cb7a2fa4de845fedc.tar.gz golite-d9f6dadfbf7a748501f2eb8cb7a2fa4de845fedc.tar.xz |
Add int32 type, close #55
Diffstat (limited to 'sqlite3.go')
-rw-r--r-- | sqlite3.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |