Skip to content

Commit

Permalink
Update CHANGELOG for viking's commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Apr 21, 2010
1 parent 66bd163 commit 454d6cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
@@ -1,5 +1,7 @@
=== HEAD

* Fix returning autogenerated keys when using the 5.1.12 MySQL JDBC driver (viking)

* Consider number/numeric/decimal columns with a 0 scale to be integer columns (e.g. numeric(10, 0)) (jeremyevans, QaDes)

* Fix Database#rename_table on Microsoft SQL Server (rohit.namjoshi) (#293)
Expand Down
2 changes: 2 additions & 0 deletions lib/sequel/adapters/jdbc/mysql.rb
Expand Up @@ -49,6 +49,8 @@ def last_insert_id(conn, opts={})
end
end

# MySQL 5.1.12 JDBC adapter requires this to be true,
# and previous versions don't mind.
def requires_return_generated_keys?
true
end
Expand Down

0 comments on commit 454d6cd

Please sign in to comment.