lib/motion-sqlite3/statement.rb in motion-sqlite3-0.5.2 vs lib/motion-sqlite3/statement.rb in motion-sqlite3-0.5.3
- old
+ new
@@ -51,10 +51,10 @@
when NilClass
result = sqlite3_bind_null(@handle.value, index)
when String, Symbol
result = sqlite3_bind_text(@handle.value, index, value, -1, lambda { |arg| })
when Integer
- result = sqlite3_bind_int(@handle.value, index, value)
+ result = sqlite3_bind_int64(@handle.value, index, value)
when Float
result = sqlite3_bind_double(@handle.value, index, value)
when NSData
result = sqlite3_bind_blob(@handle.value, index, value.bytes, value.length, lambda { |arg| })
else