From: Peter Rabbitson Date: Mon, 21 Sep 2009 11:34:26 +0000 (+0000) Subject: Merge 'trunk' into 'prefetch' X-Git-Tag: v0.08240~39 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8e84e727440f2d5f9f6fdc5271aa48c094ab0df6;p=dbsrgits%2FDBIx-Class.git Merge 'trunk' into 'prefetch' r7673@Thesaurus (orig r7662): ribasushi | 2009-09-15 09:43:46 +0200 Warn when distinct is used with group_by r7674@Thesaurus (orig r7663): rbuels | 2009-09-15 22:45:32 +0200 doc patch, clarified warning about using find_or_create() and friends on tables with auto-increment or similar columns r7675@Thesaurus (orig r7664): rbuels | 2009-09-15 22:55:15 +0200 another doc clarification regarding auto-inc columns with find_or_create() and such functions r7683@Thesaurus (orig r7672): ribasushi | 2009-09-17 13:54:44 +0200 Fix left-join chaining r7694@Thesaurus (orig r7683): ribasushi | 2009-09-18 12:36:42 +0200 r6389@Thesaurus (orig r6388): caelum | 2009-05-23 22:48:06 +0200 recreating Sybase branch r6395@Thesaurus (orig r6394): caelum | 2009-05-24 01:47:32 +0200 try not to fuck mssql with the sybase crap r6488@Thesaurus (orig r6487): caelum | 2009-06-03 17:31:24 +0200 resolve conflict r6490@Thesaurus (orig r6489): caelum | 2009-06-03 18:25:36 +0200 add missing files to sybase branch r6492@Thesaurus (orig r6491): caelum | 2009-06-04 01:51:39 +0200 fix Sybase DT stuff and storage bases r6493@Thesaurus (orig r6492): caelum | 2009-06-04 02:10:45 +0200 fix base for mssql (can't be a sybase anymore) r6494@Thesaurus (orig r6493): caelum | 2009-06-04 02:20:37 +0200 test sybase SMALLDATETIME inflation r6495@Thesaurus (orig r6494): caelum | 2009-06-04 04:52:31 +0200 update Sybase docs r6501@Thesaurus (orig r6500): caelum | 2009-06-04 14:50:49 +0200 sybase limit count without offset now works r6504@Thesaurus (orig r6503): caelum | 2009-06-04 18:03:01 +0200 use TOP for sybase limit count thanks to refactored count r6505@Thesaurus (orig r6504): caelum | 2009-06-04 18:41:54 +0200 back to counting rows for Sybase LIMIT counts r6506@Thesaurus (orig r6505): caelum | 2009-06-04 19:07:48 +0200 minor sybase count fix r6512@Thesaurus (orig r6511): caelum | 2009-06-05 01:02:48 +0200 test sybase group_by count, works r6513@Thesaurus (orig r6512): caelum | 2009-06-05 01:28:18 +0200 set date format on _rebless correctly r6516@Thesaurus (orig r6515): caelum | 2009-06-05 02:24:46 +0200 manually merged in sybase_noquote branch r6518@Thesaurus (orig r6517): caelum | 2009-06-05 06:34:25 +0200 shit doesn't work yet r6520@Thesaurus (orig r6519): caelum | 2009-06-05 16:55:41 +0200 update sybase types which shouldn't be quoted r6525@Thesaurus (orig r6524): caelum | 2009-06-06 04:40:51 +0200 tweaks to sybase types r6527@Thesaurus (orig r6526): caelum | 2009-06-06 05:36:03 +0200 temporary sybase noquote hack r6595@Thesaurus (orig r6594): caelum | 2009-06-10 13:46:37 +0200 Sybase::NoBindVars now correctly quotes r6596@Thesaurus (orig r6595): caelum | 2009-06-10 14:04:19 +0200 cache rsrc in NoBindVars, use name_sep r6597@Thesaurus (orig r6596): caelum | 2009-06-10 14:35:52 +0200 Sybase count by first pk, if available r6599@Thesaurus (orig r6598): caelum | 2009-06-10 15:00:42 +0200 cache rsrc in NoBindVars correctly r6600@Thesaurus (orig r6599): caelum | 2009-06-10 15:27:41 +0200 handle unknown rsrc in NoBindVars and Sybase::NoBindVars r6605@Thesaurus (orig r6604): caelum | 2009-06-10 18:17:31 +0200 cache rsrc properly in NoBindVars, return undef if no rsrc r6658@Thesaurus (orig r6657): caelum | 2009-06-13 05:57:40 +0200 switch to DateTime::Format::Sybase r6700@Thesaurus (orig r6699): caelum | 2009-06-17 16:25:28 +0200 rename and document dt setup method, will be an on_connect_call at later merge point r6701@Thesaurus (orig r6700): caelum | 2009-06-17 16:30:08 +0200 more dt docs reorg r6715@Thesaurus (orig r6714): caelum | 2009-06-19 01:28:17 +0200 todo tests for text/image columns in sybase r6716@Thesaurus (orig r6715): caelum | 2009-06-19 01:46:56 +0200 added connect_call_blob_setup for Sybase r6724@Thesaurus (orig r6723): caelum | 2009-06-19 17:12:20 +0200 cleanups r6771@Thesaurus (orig r6770): caelum | 2009-06-23 16:42:32 +0200 minor changes r6788@Thesaurus (orig r6787): caelum | 2009-06-25 05:31:06 +0200 fixup POD, comment out count r6811@Thesaurus (orig r6810): caelum | 2009-06-28 02:14:56 +0200 prototype blob implementation r6857@Thesaurus (orig r6856): caelum | 2009-06-29 23:45:19 +0200 branch pushed, removing r6868@Thesaurus (orig r6867): caelum | 2009-06-30 03:39:51 +0200 merge on_connect_call updates r6877@Thesaurus (orig r6876): caelum | 2009-06-30 12:46:43 +0200 code cleanups r6957@Thesaurus (orig r6956): caelum | 2009-07-03 02:32:48 +0200 minor changes r6959@Thesaurus (orig r6958): caelum | 2009-07-03 05:04:12 +0200 fix sybase mro r7001@Thesaurus (orig r7000): caelum | 2009-07-07 13:34:23 +0200 fix sybase rebless to NoBindVars r7021@Thesaurus (orig r7020): caelum | 2009-07-10 12:52:13 +0200 fix NoBindVars r7053@Thesaurus (orig r7052): caelum | 2009-07-15 01:39:02 +0200 set maxConnect in DSN and add docs r7065@Thesaurus (orig r7064): caelum | 2009-07-17 09:39:54 +0200 make insertion of blobs into tables with identity columns work, other minor fixes r7070@Thesaurus (orig r7069): caelum | 2009-07-17 23:30:13 +0200 some compatibility updated for older DBD::Sybase versions, some initial work on _select_args for blobs r7072@Thesaurus (orig r7071): caelum | 2009-07-19 23:57:11 +0200 mangling _select_args turned out to be unnecessary r7073@Thesaurus (orig r7072): caelum | 2009-07-20 01:02:19 +0200 minor cleanups r7074@Thesaurus (orig r7073): caelum | 2009-07-20 15:47:48 +0200 blob update now works r7076@Thesaurus (orig r7075): caelum | 2009-07-20 19:06:46 +0200 change the (incorrect) version check to a check for FreeTDS r7077@Thesaurus (orig r7076): caelum | 2009-07-20 19:13:25 +0200 better check for FreeTDS thanks to arcanez r7089@Thesaurus (orig r7086): caelum | 2009-07-22 07:09:21 +0200 minor cleanups r7091@Thesaurus (orig r7088): caelum | 2009-07-22 17:05:37 +0200 remove unnecessary test Result class r7092@Thesaurus (orig r7089): caelum | 2009-07-23 00:47:14 +0200 fix doc for how to check for FreeTDS r7095@Thesaurus (orig r7092): caelum | 2009-07-23 14:35:53 +0200 doc tweak r7115@Thesaurus (orig r7112): caelum | 2009-07-24 09:58:24 +0200 add support for IDENTITY_INSERT r7117@Thesaurus (orig r7114): caelum | 2009-07-24 16:19:08 +0200 savepoint support r7120@Thesaurus (orig r7117): caelum | 2009-07-24 20:35:37 +0200 fix race condition in last_insert_id with placeholders r7121@Thesaurus (orig r7118): caelum | 2009-07-24 21:22:25 +0200 code cleanup r7124@Thesaurus (orig r7121): caelum | 2009-07-25 16:19:58 +0200 use _resolve_column_info in NoBindVars r7125@Thesaurus (orig r7122): caelum | 2009-07-25 21:23:49 +0200 make insert work as a nested transaction too r7126@Thesaurus (orig r7123): caelum | 2009-07-25 22:52:17 +0200 add money type support r7128@Thesaurus (orig r7125): caelum | 2009-07-27 03:48:35 +0200 better FreeTDS support r7130@Thesaurus (orig r7127): caelum | 2009-07-28 06:23:54 +0200 minor refactoring, cleanups, doc updates r7131@Thesaurus (orig r7128): caelum | 2009-07-28 09:32:45 +0200 forgot to set mro in dbi::cursor r7141@Thesaurus (orig r7138): caelum | 2009-07-30 10:21:20 +0200 better test for "smalldatetime" in Sybase r7146@Thesaurus (orig r7143): caelum | 2009-07-30 15:37:18 +0200 update sqlite test schema r7207@Thesaurus (orig r7204): caelum | 2009-08-04 23:40:16 +0200 update Changes r7222@Thesaurus (orig r7219): caelum | 2009-08-05 11:02:26 +0200 fix a couple minor issues after pull from trunk r7260@Thesaurus (orig r7257): caelum | 2009-08-07 14:45:18 +0200 add note about where to get Schema::Loader r7273@Thesaurus (orig r7270): ribasushi | 2009-08-09 01:19:49 +0200 Changes and minor code rewrap r7285@Thesaurus (orig r7282): ribasushi | 2009-08-10 08:08:06 +0200 pesky whitespace r7286@Thesaurus (orig r7283): ribasushi | 2009-08-10 08:11:46 +0200 privatize dormant method - it may be useful for sybase at *some* point r7287@Thesaurus (orig r7284): ribasushi | 2009-08-10 08:19:55 +0200 Whoops r7289@Thesaurus (orig r7286): caelum | 2009-08-10 08:44:51 +0200 document placeholders_with_type_conversion_supported and add a redispatch to reblessed storage in DBI::update r7290@Thesaurus (orig r7287): caelum | 2009-08-10 10:07:45 +0200 fix and test redispatch to reblessed storage insert/update r7292@Thesaurus (orig r7289): caelum | 2009-08-10 10:32:37 +0200 rename get_connected_schema to get_schema in sybase test r7345@Thesaurus (orig r7342): ribasushi | 2009-08-18 22:45:06 +0200 Fix Changes r7367@Thesaurus (orig r7364): ribasushi | 2009-08-23 10:00:34 +0200 Minaor speedup r7368@Thesaurus (orig r7365): ribasushi | 2009-08-23 10:01:10 +0200 Generalize and hide placeholder support check r7369@Thesaurus (orig r7366): ribasushi | 2009-08-23 10:04:26 +0200 Rename the common sybase driver r7373@Thesaurus (orig r7370): caelum | 2009-08-24 13:21:51 +0200 make insert only use a txn if needed, add connect_call_unsafe_insert r7374@Thesaurus (orig r7371): caelum | 2009-08-24 14:42:57 +0200 add test for IDENTITY_INSERT r7378@Thesaurus (orig r7375): caelum | 2009-08-24 15:51:48 +0200 use debugobj->callback instead of local *_query_start in test to capture query r7379@Thesaurus (orig r7376): caelum | 2009-08-24 17:19:46 +0200 remove duplicate oracle method and fix an mssql method call r7417@Thesaurus (orig r7414): caelum | 2009-08-29 07:23:45 +0200 update link to Schema::Loader branch r7427@Thesaurus (orig r7424): caelum | 2009-08-29 09:31:41 +0200 switch to ::DBI::AutoCast r7428@Thesaurus (orig r7425): ribasushi | 2009-08-29 13:36:22 +0200 Cleanup: Added commented method signatures for easier debugging privatize transform_unbound_value as _prep_bind_value Remove \@_ splice's in lieu of of simple shifts Exposed TYPE_MAPPING used by native_data_type via our Removed use of txn_do - internal code uses the scope guard Renamed some variables, whitespace cleanup, the works r7429@Thesaurus (orig r7426): ribasushi | 2009-08-29 13:40:48 +0200 Varname was absolutely correct r7430@Thesaurus (orig r7427): caelum | 2009-08-29 14:09:13 +0200 minor changes for tests to pass again r7431@Thesaurus (orig r7428): caelum | 2009-08-29 21:08:51 +0200 fix inserts with active cursors r7432@Thesaurus (orig r7429): caelum | 2009-08-29 22:53:02 +0200 remove extra connection r7434@Thesaurus (orig r7431): caelum | 2009-08-30 00:02:20 +0200 test correlated subquery r7442@Thesaurus (orig r7439): ribasushi | 2009-08-30 09:07:00 +0200 Put the ocmment back r7443@Thesaurus (orig r7440): ribasushi | 2009-08-30 09:15:41 +0200 Change should_quote_value to interpolate_unquoted to make it harder to stop quoting by accident (it's easier to return a undef by accident than a 1) r7446@Thesaurus (orig r7443): caelum | 2009-08-30 18:19:46 +0200 added txn_scope_guards for blob operations r7447@Thesaurus (orig r7444): ribasushi | 2009-08-30 18:56:43 +0200 Rename insert_txn to unsafe_insert r7512@Thesaurus (orig r7509): ribasushi | 2009-09-03 20:24:14 +0200 Minor cleanups r7575@Thesaurus (orig r7572): caelum | 2009-09-05 07:23:57 +0200 pending review by mpeppler r7593@Thesaurus (orig r7590): ribasushi | 2009-09-07 09:10:05 +0200 Release 0.08111 tag r7594@Thesaurus (orig r7591): ribasushi | 2009-09-07 09:14:33 +0200 Whoops this should not have committed r7602@Thesaurus (orig r7599): caelum | 2009-09-07 21:31:38 +0200 fix _insert_dbh code to only connect when needed, doc update r7607@Thesaurus (orig r7604): caelum | 2009-09-09 02:15:54 +0200 remove unsafe_insert r7608@Thesaurus (orig r7605): ribasushi | 2009-09-09 09:14:20 +0200 Localisation ain't free, we don't do it unless we have to r7609@Thesaurus (orig r7606): ribasushi | 2009-09-09 09:40:29 +0200 Much simpler r7610@Thesaurus (orig r7607): ribasushi | 2009-09-09 10:38:41 +0200 Reduce amount of perl-golf :) r7611@Thesaurus (orig r7608): ribasushi | 2009-09-09 10:41:15 +0200 This should not have worked - I guess we lack tests? r7614@Thesaurus (orig r7611): caelum | 2009-09-09 12:08:36 +0200 test multi-row blob update r7619@Thesaurus (orig r7616): caelum | 2009-09-09 18:01:15 +0200 remove Sub::Name hack for method dispatch, pass $next instead r7620@Thesaurus (orig r7617): caelum | 2009-09-10 02:16:03 +0200 do blob update over _insert_dbh r7661@Thesaurus (orig r7650): caelum | 2009-09-13 10:27:44 +0200 change _insert_dbh to _insert_storage r7663@Thesaurus (orig r7652): caelum | 2009-09-13 11:52:20 +0200 make sure _init doesn't loop, steal insert_bulk from mssql, add some insert_bulk tests r7664@Thesaurus (orig r7653): caelum | 2009-09-13 13:27:51 +0200 allow subclassing of methods proxied to _writer_storage r7666@Thesaurus (orig r7655): caelum | 2009-09-14 15:09:21 +0200 sybase bulk API support stuff (no blobs yet, coming soon...) r7667@Thesaurus (orig r7656): caelum | 2009-09-14 15:33:14 +0200 add another test for sybase bulk stuff (passes) r7668@Thesaurus (orig r7657): caelum | 2009-09-14 15:44:06 +0200 minor change (fix inverted boolean for warning) r7669@Thesaurus (orig r7658): caelum | 2009-09-14 15:48:52 +0200 remove @args from DBI::sth, use full arg list r7676@Thesaurus (orig r7665): caelum | 2009-09-16 15:06:35 +0200 use execute_array for insert_bulk, test insert_bulk with blobs, clean up blob tests a bit r7680@Thesaurus (orig r7669): ribasushi | 2009-09-16 19:36:19 +0200 Remove branched changes r7682@Thesaurus (orig r7671): caelum | 2009-09-17 03:03:34 +0200 I'll rewrite this bit tomorrow to be less retarded r7684@Thesaurus (orig r7673): caelum | 2009-09-18 04:03:15 +0200 fix yesterday's stuff, identity_update works, blob updates are better r7686@Thesaurus (orig r7675): caelum | 2009-09-18 04:22:38 +0200 column no longer necessary in test r7688@Thesaurus (orig r7677): caelum | 2009-09-18 08:33:14 +0200 fix freetds r7691@Thesaurus (orig r7680): ribasushi | 2009-09-18 12:25:42 +0200 r7678@Thesaurus (orig r7667): ribasushi | 2009-09-16 19:31:14 +0200 New subbranch r7679@Thesaurus (orig r7668): ribasushi | 2009-09-16 19:34:29 +0200 Caelum's work so far r7690@Thesaurus (orig r7679): caelum | 2009-09-18 11:10:16 +0200 support for blobs in insert_bulk fallback r7692@Thesaurus (orig r7681): ribasushi | 2009-09-18 12:28:09 +0200 Rollback all bulk insert code before merge r7699@Thesaurus (orig r7688): ribasushi | 2009-09-18 14:12:05 +0200 Cleanup exception handling r7700@Thesaurus (orig r7689): ribasushi | 2009-09-18 14:22:02 +0200 duh r7701@Thesaurus (orig r7690): ribasushi | 2009-09-18 14:25:06 +0200 Minor cleanup of RSC with has_many joins r7702@Thesaurus (orig r7691): ribasushi | 2009-09-18 14:32:15 +0200 Changes and dev notes in makefile r7705@Thesaurus (orig r7694): ribasushi | 2009-09-18 14:52:26 +0200 Nothing says the grouping column can not be nullable r7706@Thesaurus (orig r7695): ribasushi | 2009-09-18 14:53:33 +0200 Changes r7707@Thesaurus (orig r7696): ribasushi | 2009-09-18 20:09:04 +0200 This code belogs in Storage::DBI r7708@Thesaurus (orig r7697): ribasushi | 2009-09-18 20:38:26 +0200 Clear up some legacy cruft and straighten inheritance r7710@Thesaurus (orig r7699): ribasushi | 2009-09-21 00:25:20 +0200 Backout sybase changes r7713@Thesaurus (orig r7702): ribasushi | 2009-09-21 00:46:32 +0200 Missed a part of the revert r7720@Thesaurus (orig r7709): ribasushi | 2009-09-21 02:49:11 +0200 Oops r7721@Thesaurus (orig r7710): ribasushi | 2009-09-21 11:02:14 +0200 Changes r7722@Thesaurus (orig r7711): ribasushi | 2009-09-21 12:49:30 +0200 Undocument the from attribute (the description was mostly outdated anyway) r7723@Thesaurus (orig r7712): ribasushi | 2009-09-21 12:58:58 +0200 Release 0.08112 --- 8e84e727440f2d5f9f6fdc5271aa48c094ab0df6