- 02 5月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
`schema_creation` is not public API. https://github.com/rails/rails/blob/v5.0.0.beta4/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L121 https://github.com/rails/rails/blob/v5.0.0.beta4/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb#L78
-
- 30 4月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
Refactor of #22911. Signed-off-by: NJeremy Daer <jeremydaer@gmail.com>
-
- 25 4月, 2016 2 次提交
-
-
由 Vipul A M 提交于
- Rename max to statement_limit - Remove magic number 1000 from everywhere - Defined StatementPool::DEFAULT_STATEMENT_LIMIT and started using it everywhere Signed-off-by: NJeremy Daer <jeremydaer@gmail.com>
-
由 Vipul A M 提交于
Adapters override `#supports_savepoints?` to return `true` if they support transaction savepoints. Defaults to `false`.
-
- 21 4月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
-
- 20 4月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
`Arel::Visitors::VISITORS` was removed at https://github.com/rails/arel/pull/412.
-
- 19 4月, 2016 1 次提交
-
-
由 Jeremy Daer 提交于
* Switch to keyword args where we can without breaking compat. * Use add_table_options! for :options, too. * Some code polish.
-
- 16 4月, 2016 1 次提交
-
-
由 Andrey Novikov 提交于
Comments are specified in migrations, stored in database itself (in its schema), and dumped into db/schema.rb file. This allows to generate good documentation and explain columns and tables' purpose to everyone from new developers to database administrators. For PostgreSQL and MySQL only. SQLite does not support comments at the moment. See docs for PostgreSQL: http://www.postgresql.org/docs/current/static/sql-comment.html See docs for MySQL: http://dev.mysql.com/doc/refman/5.7/en/create-table.html
-
- 14 4月, 2016 1 次提交
-
-
由 Vipul A M 提交于
- Specify we want to run on latest stable ruby for mariadb - change in runs of builds Make mariadb? method publicly available
-
- 13 4月, 2016 1 次提交
-
-
由 Vipul A M 提交于
Reason: - Its not publicly used method. - Exposing it makes an assumption that other adapters support it based on its usage - ActiveRecord::Base.connection.version [ci skip]
-
- 09 4月, 2016 1 次提交
-
-
由 Jeremy Daer 提交于
We support microsecond datetime precision for MySQL 5.6.4+. MariaDB has supported it since 5.3.0, but even 10.x versions return a compatible version string like `5.5.5-10.1.8-MariaDB-log` which we parse as 5.5.5, before MySQL supported microsecond precision. Specialize our version check to account for MariaDB to fix.
-
- 06 4月, 2016 2 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Harsimran Singh Maan 提交于
The hard-coded back-ticks made it hard to use a different char for quoting db fields. This checkin replaces it with quote_table_name.
-
- 05 4月, 2016 3 次提交
-
-
由 Ryuta Kamizono 提交于
Move `quoted_date`, `quote_string` and `quote_table_name_for_assignment` methods to `Quoting` module
-
由 Ryuta Kamizono 提交于
-
由 yui-knk 提交于
Because we define `QUOTED_TRUE` as `"1"` and `QUOTED_FALSE` as `"0"`. And add test cases to ensure this commit does not break current behavior even if the value of `attributes_before_type_cast` is false.
-
- 04 4月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
-
- 31 3月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
-
- 30 3月, 2016 2 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
-
- 13 3月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
For keep the default SQL mode.
-
- 08 3月, 2016 2 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
Currently the results of `column.serial?` is not correct. For `column.serial?` correctly working, initialize `column.table_name` immediately.
-
- 06 3月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
`SELECT @@name` statement returns only single row or `StatementInvalid`. ``` root@localhost [activerecord_unittest] > SELECT @@version; +-----------+ | @@version | +-----------+ | 5.7.9-log | +-----------+ 1 row in set (0.00 sec) root@localhost [activerecord_unittest] > SELECT @@unknown_variable; ERROR 1193 (HY000): Unknown system variable 'missing_variable' ```
-
- 04 3月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
-
- 22 2月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
Follow up to #13040.
-
- 17 2月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
Simply it is sufficient to override `can_perform_case_insensitive_comparison_for?`.
-
- 06 2月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
-
- 05 2月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
-
- 04 2月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
Currently some features uses `information_schema` (e.g. foreign key support). `information_schema` introduced since MySQL 5.0.
-
- 01 2月, 2016 2 次提交
-
-
由 Ryuta Kamizono 提交于
`initialize_schema_migrations_table` is called in every migrations. https://github.com/rails/rails/blob/v5.0.0.beta1/activerecord/lib/active_record/migration.rb#L1080 https://github.com/rails/rails/blob/v5.0.0.beta1/activerecord/lib/active_record/schema.rb#L51 This means that extra `show variables` is called regardless of the existence of `schema_migrations` table. This change is to avoid extra `show variables` if `schema_migrations` table exists.
-
由 Ryuta Kamizono 提交于
-
- 30 1月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
`LOST_CONNECTION_ERROR_MESSAGES` was added by f3845822. But currently unused from anywhere.
-
- 27 1月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
Integer limit as a byte size was introduced from Rails 2.1. `limit: 11` is not a byte size, but take care for backward-compatibility with Rails 2.0 (a892af60). Integer limit out of range should be allowed to raise by #6349. I think we should remove this backward-compatibility.
-
- 13 1月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
-
- 11 1月, 2016 2 次提交
-
-
由 Ryuta Kamizono 提交于
-
由 Ryuta Kamizono 提交于
-
- 08 1月, 2016 2 次提交
-
-
由 Ryuta Kamizono 提交于
Simply `{update|delete}_sql` aliases to `{update|delete}`.
-
由 schneems 提交于
-
- 04 1月, 2016 1 次提交
-
-
由 Ryuta Kamizono 提交于
-