From: Rafael Kitover Date: Wed, 5 Aug 2009 08:46:51 +0000 (+0000) Subject: Merge 'trunk' into 'sybase' X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1f4263ebe497f0a4a7dbde8850a8d1736946740d;p=dbsrgits%2FDBIx-Class-Historic.git Merge 'trunk' into 'sybase' r9075@hlagh (orig r7205): ribasushi | 2009-08-05 02:34:25 -0400 Bump dependencies: Test::More for the new no_plan/done_testing goodies File::Temp as per RT#48431 r9077@hlagh (orig r7207): ribasushi | 2009-08-05 02:36:32 -0400 r7156@Thesaurus (orig r7153): robkinyon | 2009-07-30 20:06:04 +0200 Create prefetch_redux branch r7164@Thesaurus (orig r7161): robkinyon | 2009-07-31 22:41:01 +0200 Added MooseX::Traits to Makefile.PL r7172@Thesaurus (orig r7169): robkinyon | 2009-08-03 05:49:59 +0200 Added two tests and marked one todo_skip r7187@Thesaurus (orig r7184): ribasushi | 2009-08-03 17:24:41 +0200 Use goto to preserve correct error-at-line reporting r7189@Thesaurus (orig r7186): ribasushi | 2009-08-04 12:34:58 +0200 Add an extra test specifically for distinct/prefetch Remove duplicate test in count/prefetch Switch to as_query instead of debug overloading r7190@Thesaurus (orig r7187): ribasushi | 2009-08-04 12:35:57 +0200 Fix how a distinct-induced group_by is calculated, taking in consideration the new prefetch mechanism r7197@Thesaurus (orig r7194): ribasushi | 2009-08-04 17:31:33 +0200 Traits not needed by anything currently in dbic r7198@Thesaurus (orig r7195): ribasushi | 2009-08-04 17:41:14 +0200 Move around tests a bit r7199@Thesaurus (orig r7196): mo | 2009-08-04 21:10:57 +0200 prefetch-grouped fails, again r7204@Thesaurus (orig r7201): ribasushi | 2009-08-04 22:50:51 +0200 Split the search_related prefetch tests into a standalone testfile r7205@Thesaurus (orig r7202): ribasushi | 2009-08-04 23:05:03 +0200 Move norbi's test to prefetch_redux - it's the same idea r7209@Thesaurus (orig r7206): ribasushi | 2009-08-05 08:35:48 +0200 Tadaaaa (even more prefetch insanity) r9079@hlagh (orig r7209): ribasushi | 2009-08-05 02:38:41 -0400 r7107@Thesaurus (orig r7104): caelum | 2009-07-24 06:51:57 +0200 new branch to move common mssql functionality into the base class, and other tweaks r7109@Thesaurus (orig r7106): caelum | 2009-07-24 07:28:11 +0200 moved code to ::DBI::MSSQL and added DT inflation test r7112@Thesaurus (orig r7109): caelum | 2009-07-24 08:46:16 +0200 merge in some more MSSQL code, including odbc dynamic cursor support r7113@Thesaurus (orig r7110): caelum | 2009-07-24 08:49:54 +0200 fix a warning in SQLAHacks r7114@Thesaurus (orig r7111): caelum | 2009-07-24 09:22:33 +0200 add placeholder support detection for mssql through dbd::sybase r7118@Thesaurus (orig r7115): caelum | 2009-07-24 16:39:06 +0200 minor doc clarification r7122@Thesaurus (orig r7119): caelum | 2009-07-25 16:10:30 +0200 move placeholder support detection into ::Sybase::Base r7123@Thesaurus (orig r7120): caelum | 2009-07-25 16:12:01 +0200 add a comment r7127@Thesaurus (orig r7124): caelum | 2009-07-26 18:04:29 +0200 SAVEPOINT methods for MSSQL r7140@Thesaurus (orig r7137): caelum | 2009-07-30 10:12:45 +0200 better tests for "smalldatetime" support in MSSQL r7142@Thesaurus (orig r7139): caelum | 2009-07-30 13:29:19 +0200 MSSQL GUID support r7147@Thesaurus (orig r7144): caelum | 2009-07-30 15:38:33 +0200 update sqlite test schema r7150@Thesaurus (orig r7147): caelum | 2009-07-30 16:26:47 +0200 make sure the new mssql insert method works on an un-reblessed storage r7151@Thesaurus (orig r7148): caelum | 2009-07-30 16:55:35 +0200 better rebless check for insert r7154@Thesaurus (orig r7151): caelum | 2009-07-30 18:57:22 +0200 add missing file r7155@Thesaurus (orig r7152): caelum | 2009-07-30 19:00:40 +0200 fix syntax error r7163@Thesaurus (orig r7160): caelum | 2009-07-31 15:52:41 +0200 fix a bug in _determine_driver r7166@Thesaurus (orig r7163): caelum | 2009-08-01 18:10:23 +0200 default collist for storage _resolve_column_info r7182@Thesaurus (orig r7179): caelum | 2009-08-03 13:42:31 +0200 check that dynamic cursors are functional if enabled r7184@Thesaurus (orig r7181): ribasushi | 2009-08-03 14:23:37 +0200 Adjust expected sql to match the new 'Track' table definition r7186@Thesaurus (orig r7183): ribasushi | 2009-08-03 15:16:10 +0200 Simplify code and add some comments r7200@Thesaurus (orig r7197): caelum | 2009-08-04 21:31:16 +0200 update oracle tests for new "track" table r7203@Thesaurus (orig r7200): caelum | 2009-08-04 22:39:57 +0200 update Changes r9081@hlagh (orig r7211): ribasushi | 2009-08-05 02:40:39 -0400 r7213@Thesaurus (orig r7210): ribasushi | 2009-08-05 08:40:20 +0200 Really sanify _resolve_column_info r9083@hlagh (orig r7213): ribasushi | 2009-08-05 04:19:37 -0400 Reminder about discard_changes and friends r9084@hlagh (orig r7214): ribasushi | 2009-08-05 04:26:20 -0400 Reformat and fill-in changes r9085@hlagh (orig r7215): caelum | 2009-08-05 04:37:12 -0400 rename connect_call_use_mars to connect_call_use_MARS --- 1f4263ebe497f0a4a7dbde8850a8d1736946740d diff --cc Changes index 5ed9222,aa03d9c..b33bc29 --- a/Changes +++ b/Changes @@@ -1,24 -1,34 +1,44 @@@ Revision history for DBIx::Class - - support for MSSQL 'money' type - - support for 'smalldatetime' type used in MSSQL and Sybase for + - Replication updates: + - Improved the replication tests so that they are more reliable + and accurate, and hopefully solve some cross platform issues. + - Bugfixes related to naming particular replicants in a + 'force_pool' attribute. + - Lots of documentation updates, including a new Introduction.pod + file. + - Fixed the way we detect transaction to make this more reliable + and forward looking. + - Fixed some trouble with the way Moose Types are used. + - Refactor of MSSQL storage drivers, with some new features: + - Support for placeholders for MSSQL via DBD::Sybase with proper + autodetection + - 'uniqueidentifier' support with auto newid() + - Dynamic cursor support and other MARS options for ODBC ++ - savepoints with auto_savepoint => 1 + - Support for MSSQL 'money' type + - Support for 'smalldatetime' type used in MSSQL and Sybase for InflateColumn::DateTime -- - support for Postgres 'timestamp without timezone' type in - InflateColumn::DateTime (RT#48389) ++ - Support for Postgres 'timestamp without timezone' type in + InflateColumn::DateTime - - much improved Sybase support, including support for TEXT/IMAGE ++ - Much improved Sybase support, including support for TEXT/IMAGE + columns and connecting via FreeTDS + - Replication updates: Improved the replication tests so that they are + more reliable and accurate, and hopefully solve some cross platform + issues. Bugfixes related to naming particular replicants in a + 'force_pool' attribute. Lots of documentation updates, including a + new Introduction.pod file. Fixed the way we detect transaction to + make this more reliable and forward looking. Fixed some trouble with + the way Moose Types are used. - Added new MySQL specific on_connect_call macro 'set_strict_mode' (also known as make_mysql_not_suck_as_much) - - Added call to Pod::Inherit in Makefile.PL - - currently at author-time only, so we need to add the produced - .pod files to the MANIFEST + - Multiple prefetch-related fixes: + - Adjust overly agressive subquery join-chain pruning + - Always preserve the outer join-chain - fixes numerous + problems with search_related chaining + - Deal with the distinct => 1 attribute properly when using + prefetch + - Multiple POD improvements 0.08108 2009-07-05 23:15:00 (UTC) diff --cc lib/DBIx/Class/Storage/DBI/Sybase/Microsoft_SQL_Server.pm index 1fe11f0,5e53118..7e19816 --- a/lib/DBIx/Class/Storage/DBI/Sybase/Microsoft_SQL_Server.pm +++ b/lib/DBIx/Class/Storage/DBI/Sybase/Microsoft_SQL_Server.pm @@@ -5,8 -5,7 +5,8 @@@ use warnings use base qw/ DBIx::Class::Storage::DBI::Sybase::Base - DBIx::Class::Storage::DBI::ODBC::Microsoft_SQL_Server + DBIx::Class::Storage::DBI::MSSQL + DBIx::Class::Storage::DBI::NoBindVars /; use mro 'c3'; diff --cc t/lib/sqlite.sql index a74d91a,20b8e5a..1c05cec --- a/t/lib/sqlite.sql +++ b/t/lib/sqlite.sql @@@ -1,6 -1,6 +1,4 @@@ ---- ---- Created by SQL::Translator::Producer::SQLite - -- Created on Thu Jul 30 09:36:16 2009 + -- Created on Thu Jul 30 09:37:43 2009 --