Browse files

Update CHANGELOG for viking's commit

  • Loading branch information...
1 parent 66bd163 commit 454d6cdd08cb46d232ae1c449361c748c6e77ac9 @jeremyevans committed Apr 21, 2010
Showing with 4 additions and 0 deletions.
  1. +2 −0 CHANGELOG
  2. +2 −0 lib/sequel/adapters/jdbc/mysql.rb
View
2 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)
View
2 lib/sequel/adapters/jdbc/mysql.rb
@@ -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

0 comments on commit 454d6cd

Please sign in to comment.