From: Peter Rabbitson Date: Sat, 23 May 2009 22:47:40 +0000 (+0000) Subject: update changes X-Git-Tag: v0.08103~25 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1ace31c28f86cb86741df7e65965a370008fc29c;p=dbsrgits%2FDBIx-Class.git update changes --- diff --git a/Changes b/Changes index 5ce2d89..20ca87a 100644 --- a/Changes +++ b/Changes @@ -1,18 +1,20 @@ Revision history for DBIx::Class + - Multiple $resultset -> count/update/delete fixes. Now any + of these operations will succeed, regardless of the complexity + of $resultset. distinct, group_by, join, prefetch are all + supported with expected results - don't pass SQL functions into GROUP BY - Remove MultiDistinctEmulation.pm, effectively deprecating { select => { distinct => [ qw/col1 col2/ ] } } - Change ->count code to work correctly with DISTINCT (distinct => 1) via GROUP BY - - remove interpolation of bind vars for as_query - - update Cookbook entry for "SELECT DISTINCT with multiple columns" - - update Cookbook entry for "SELECT COUNT(DISTINCT colname)" + - Removed interpolation of bind vars for as_query - placeholders + are preserved and nested query bind variables are properly + merged in the correct order - Refactor DBIx::Class::Storage::DBI::Sybase to automatically load a subclass, namely Microsoft_SQL_Server.pm (similar to DBIx::Class::Storage::DBI::ODBC) - - Proper support for update/delete of joined resultsets - (using IN => $sub_rs->as_query) - Refactor InflateColumn::DateTime to allow components to circumvent DateTime parsing - Support inflation of timestamp datatype @@ -22,6 +24,13 @@ Revision history for DBIx::Class - Storage::DBI::Replicated: storage opts from connect_info, connect_info merging to replicants, hashref connect_info support, improved trace output, other bug fixes/cleanups + - distinct => 1 with prefetch now groups by all columns + - on_connect_do accepts a single string equivalent to a one + element arrayref (RT#45159) + - DB2 limit + offset now works correctly + - Sybase now supports autoinc PKs (RT#40265) + - Prefetch on joins over duplicate relations now works + correctly (RT#28451) 0.08102 2009-04-30 08:29:00 (UTC) - Fixed two subtle bugs when using columns or select/as