diff options
author | Jamis Buck <jamis@37signals.com> | 2007-01-13 19:46:24 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2007-01-13 19:46:24 +0000 |
commit | a5730ff50de9392e880df698cf9c73af0a0fce9b (patch) | |
tree | 9f8c2305fa16292fcc3208d5a3264093161c535d /lib | |
parent | 0e18b672c55c728834b565732939405eb4582c30 (diff) | |
download | third_party-sqlite3-ruby-a5730ff50de9392e880df698cf9c73af0a0fce9b.tar.gz third_party-sqlite3-ruby-a5730ff50de9392e880df698cf9c73af0a0fce9b.tar.xz third_party-sqlite3-ruby-a5730ff50de9392e880df698cf9c73af0a0fce9b.zip |
Allow bignum values to be bound (thanks Timothy Wood, closes #3463)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sqlite3/statement.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqlite3/statement.rb b/lib/sqlite3/statement.rb index 0de27f1..20de9ee 100644 --- a/lib/sqlite3/statement.rb +++ b/lib/sqlite3/statement.rb @@ -117,6 +117,8 @@ module SQLite3 must_be_open! if Fixnum === param case value + when Bignum then + @driver.bind_int64( @handle, param, value ) when Integer then @driver.bind_int( @handle, param, value ) when Numeric then |