1. 16 5月, 2014 1 次提交
  2. 04 5月, 2014 3 次提交
  3. 01 5月, 2014 1 次提交
  4. 18 4月, 2014 1 次提交
  5. 10 4月, 2014 5 次提交
  6. 08 4月, 2014 1 次提交
  7. 31 3月, 2014 1 次提交
  8. 27 3月, 2014 4 次提交
  9. 26 3月, 2014 2 次提交
  10. 04 3月, 2014 1 次提交
  11. 13 2月, 2014 1 次提交
  12. 17 12月, 2013 1 次提交
  13. 14 12月, 2013 1 次提交
  14. 10 12月, 2013 1 次提交
  15. 29 11月, 2013 4 次提交
  16. 26 11月, 2013 1 次提交
  17. 11 11月, 2013 1 次提交
  18. 06 11月, 2013 1 次提交
    • D
      Don't swallow exceptions in transctional statements · 5d870c92
      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
      5d870c92
  19. 30 9月, 2013 2 次提交
  20. 12 9月, 2013 1 次提交
    • R
      Check if the SQL is not a prepared statement · f13b2785
      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
      f13b2785
  21. 12 8月, 2013 1 次提交
  22. 09 8月, 2013 1 次提交
  23. 08 8月, 2013 1 次提交
  24. 17 7月, 2013 1 次提交
  25. 16 7月, 2013 1 次提交
    • A
      Unifies mysql and mysql2 casting of booleans · 41bd94b7
      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.
      41bd94b7
  26. 13 6月, 2013 1 次提交
    • J
      Moving add_column_options! up to SchemaCreation · ea72430b
      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.
      ea72430b