Updates the DataMapper truncation strategy to version 0.10.3

This commit is contained in:
Ben Mabey 2010-05-02 12:40:30 -06:00
parent 968d14c17b
commit 253247bd08
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
0.5.x (In Git)
=== Bugfixes
* Updates the DataMapper truncation strategy to version 0.10.3. (Robert Rouse)
== 0.5.2
=== Bugfixes

View file

@ -29,7 +29,7 @@ module DataMapper
execute("SET FOREIGN_KEY_CHECKS = 0;")
yield
ensure
execute("SET FOREIGN_KEY_CHECKS = #{old};")
execute("SET FOREIGN_KEY_CHECKS = #{old.first};")
end
end