Permalink
Browse files

Improve CHANGELOG entry

  • Loading branch information...
1 parent 8a37f3b commit cbe1bc29722ddeda12d8652c409cea156ddb85a3 @rafaelfranca rafaelfranca committed Mar 26, 2014
Showing with 5 additions and 3 deletions.
  1. +5 −3 activerecord/CHANGELOG.md
@@ -1,8 +1,10 @@
-* Create indexes inline in CREATE TABLE for MySQL
+* Create indexes inline in CREATE TABLE for MySQL.
This is important, because adding an index on a temporary table after it has been created
would commit the transaction.
- It also allows creating and dropping indexed tables with fewer queries and fewer permissions required.
+
+ It also allows creating and dropping indexed tables with fewer queries and fewer permissions
+ required.
Example:
@@ -11,7 +13,7 @@
end
# => CREATE TEMPORARY TABLE temp (INDEX (zip)) AS SELECT id, name, zip FROM a_really_complicated_query
- *Cody Cutrer*, *Steve Rice*
+ *Cody Cutrer*, *Steve Rice*, *Rafael Mendonça Franca*
* Save `has_one` association even if the record doesn't changed.

0 comments on commit cbe1bc2

Please sign in to comment.