- 14 12月, 2013 1 次提交
-
-
由 Cody Cutrer 提交于
also override drop_table in AbstractMySQLAdapter to properly drop temporary tables without committing the transaction
-
- 10 12月, 2013 1 次提交
-
-
由 Yasuo Honda 提交于
Since MySQL 5.7.3 m13 does now allow primary key column is null.
-
- 29 11月, 2013 4 次提交
-
-
由 Rafael Mendonça França 提交于
This method is not using the block variable directly since it is calling yield
-
由 Akshay Vishnoi 提交于
-
由 Cody Cutrer 提交于
also clarify native rename_index support is >= 5.7, not > 5.7
-
由 Cody Cutrer 提交于
-
- 11 11月, 2013 1 次提交
-
-
由 Yves Senn 提交于
-
- 06 11月, 2013 1 次提交
-
-
由 Doug Barth 提交于
The MySQL connection adapater swallows all StandardError exceptions, which includes Mysql::Error and Mysql2::Error. The comment in the exception clause claims errors thrown here indicate that transactions aren't supported by the server but that isn't necessarily true. It's possible the MySQL server has gone away and swallowing a failed commit may let the application return a successful response when the data has not been saved. Also, replication libraries like Galera require that the application handle exceptions thrown at BEGIN/COMMIT. I'm unable to determine what version of MySQL threw an exception for transactional statements. I tried as far back as 3.23.49 with InnoDB disabled but BEGIN & COMMIT statements do not throw an error. If there's a real case for this logic to continue, we could instead push this behavior into a configuration setting. The exception swallowing has been there since the beginning: db045dbb
-
- 30 9月, 2013 2 次提交
- 12 9月, 2013 1 次提交
-
-
由 Rafael Mendonça França 提交于
When the adapter is with prepared statement disabled and the binds array is not empty the connection adapter will try to set the binds values and will fail. Now we are checking if the adapter has the prepared statement disabled. Fixes #12023
-
- 12 8月, 2013 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 09 8月, 2013 1 次提交
-
-
由 Vipul A M 提交于
-
- 08 8月, 2013 1 次提交
-
-
由 Koichi Sasada 提交于
-
- 17 7月, 2013 1 次提交
-
- 16 7月, 2013 1 次提交
-
-
由 awilliams 提交于
Using the mysql2 adapter, boolean values were sometimes being incorrectly cast to 't' or 'f'. This changes the cast to match the mysql adapter behavior, ie 1 and 0.
-
- 13 6月, 2013 1 次提交
-
-
由 jeran 提交于
removed two instances of add_column_options! from abstract_mysql_adapter reworked rename_column_sql to remove add_column_options from schema_statements changed to use new hash syntax.
-
- 01 5月, 2013 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 29 4月, 2013 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 01 4月, 2013 1 次提交
-
-
由 masarakki 提交于
enum includes text or blob or ... hooked by wrong regex
-
- 28 3月, 2013 1 次提交
-
-
由 Ken Mazaika 提交于
-
- 27 3月, 2013 1 次提交
-
-
由 Vipul A M 提交于
-
- 26 3月, 2013 2 次提交
-
-
由 Dan McClain 提交于
Adds support for algorithm option in MySQL indexes Moves USING and algorithm options upstream The syntax is still specific to the Adapter, so the actual executed string happens in the corresponding adapter
-
由 Ranjay Krishna 提交于
Created a layer of abstraction for the valid type checking in schema dumper. Now, connection handles the check for valid types so that each database can handle the changes individually.
-
- 24 3月, 2013 1 次提交
-
-
由 doabit 提交于
-
- 23 3月, 2013 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 08 3月, 2013 1 次提交
-
-
由 Cédric FABIANSKI 提交于
-
- 06 3月, 2013 1 次提交
-
- 28 2月, 2013 1 次提交
-
-
由 Steve Klabnik 提交于
This reverts commit 408227d9, reversing changes made to dca0b57d.
-
- 25 2月, 2013 1 次提交
-
-
由 Rafael Mendonça França 提交于
We should only type cast when we need to use. Related to 4b005fb3
-
- 21 2月, 2013 1 次提交
-
-
由 Yves Senn 提交于
When a table or a column is renamed related indexes kept their name. This will lead to confusing names. This patch renames related indexes when a column or a table is renamed. Only indexes with names generated by rails will be renamed. Indexes with custom names will not be renamed.
-
- 16 2月, 2013 2 次提交
-
-
由 Jon Leighton 提交于
It was supposed to be removed by the preceding two reversions but I did them in the wrong order.
-
由 Jon Leighton 提交于
This reverts commit 5d528f83. Relates to f8c8ad56 which is also getting reverted due to failing test.
-
- 14 2月, 2013 1 次提交
-
-
由 Sam Ruby 提交于
-
- 12 2月, 2013 1 次提交
-
-
由 Ranjay Krishna 提交于
-
- 07 2月, 2013 1 次提交
-
-
由 Dylan Smith 提交于
-
- 29 12月, 2012 1 次提交
-
-
由 Angelo Capilleri 提交于
-
- 23 12月, 2012 1 次提交
-
-
由 Marc-Andre Lafortune 提交于
* Fix Migration#reversible by not using `transaction`. * Adapt mysql adapter to updated api for remove_column * Update test after aedcd683
-
- 09 12月, 2012 1 次提交
-
-
由 Aaron Stone 提交于
in the new 'variables:' hash in each database config section in database.yml. The key-value pairs of this hash will be sent in a 'SET key = value, ...' query on new database connections. The configure_connection methods from mysql and mysql2 into are consolidated into the abstract_mysql base class.
-