1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
Ryuta Kamizono 9b823c02b6
SQLite3 valid integer value should be 8 bytes (64-bit signed integer) (#28379)
This is a regression since Rails 4.2.

SQLite3 integer is stored in 1, 2, 3, 4, 6, or 8 bytes depending on the
magnitude of the value. Assuming default valid value as 4 bytes caused
that actual valid value in INTEGER storage class cannot be stored and
existing value cannot be found.

https://www.sqlite.org/datatype3.html

We should allow valid value in INTEGER storage class in SQLite3 to fix
the regression.

Fixes #22594.
2017-12-03 15:45:40 +09:00
..
active_record/connection_adapters Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
assets
cases SQLite3 valid integer value should be 8 bytes (64-bit signed integer) (#28379) 2017-12-03 15:45:40 +09:00
fixtures Set counter caches to correct values in fixtures 2017-11-08 20:45:43 +02:00
migrations Unify the internal source control .keep file name 2017-08-24 13:40:26 +09:00
models Inverse instance should not be reloaded during autosave if called in validation 2017-11-27 09:41:36 +05:30
schema Refactor length, order, and opclass index options dumping 2017-12-03 05:01:41 +09:00
support Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
.gitignore
config.example.yml
config.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00