From: Peter Rabbitson Date: Sun, 17 Jan 2010 16:20:32 +0000 (+0000) Subject: Merge 'trunk' into 'dbicadmin_refactor' X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=315c247722defde25149620dee717fca86194768;p=dbsrgits%2FDBIx-Class-Historic.git Merge 'trunk' into 'dbicadmin_refactor' r8007@Thesaurus (orig r7995): castaway | 2009-11-30 16:20:19 +0100 Remove over-emphasis on +select/+as. Add docs on prefetch and other ways to get related data, with caveats etc. r8009@Thesaurus (orig r7997): dew | 2009-11-30 19:37:00 +0100 Alter the docs for has_many relationships to make them a little easier to grok r8021@Thesaurus (orig r8009): castaway | 2009-12-02 14:19:40 +0100 Added note about prefetch and has_many related objects r8029@Thesaurus (orig r8017): ribasushi | 2009-12-03 13:24:04 +0100 Source sanity check on subqueried update/delete r8030@Thesaurus (orig r8018): ribasushi | 2009-12-03 14:39:37 +0100 Sanify populate arg handling r8040@Thesaurus (orig r8028): ribasushi | 2009-12-04 02:46:20 +0100 r7935@Thesaurus (orig r7923): ribasushi | 2009-11-19 11:05:04 +0100 Branches for RTs r7965@Thesaurus (orig r7953): ribasushi | 2009-11-26 00:19:21 +0100 Test and fix scalarref in an inflatable slot corner-case r7966@Thesaurus (orig r7954): ribasushi | 2009-11-26 00:24:23 +0100 Looks like we nailed a todo r8038@Thesaurus (orig r8026): ribasushi | 2009-12-04 02:45:40 +0100 Changes r8039@Thesaurus (orig r8027): ribasushi | 2009-12-04 02:46:08 +0100 Changes(2) r8055@Thesaurus (orig r8043): ribasushi | 2009-12-07 15:11:25 +0100 Forgotten auto-savepoint example patch r8057@Thesaurus (orig r8045): ribasushi | 2009-12-08 14:13:38 +0100 Weird test case r8058@Thesaurus (orig r8046): ribasushi | 2009-12-08 14:23:31 +0100 Fix the test - code is correct r8063@Thesaurus (orig r8051): ribasushi | 2009-12-09 02:33:30 +0100 It's almost 2010 - load_components ('Core') is like ewwww r8067@Thesaurus (orig r8055): caelum | 2009-12-09 18:13:33 +0100 workaround for evil ADO bug r8068@Thesaurus (orig r8056): ribasushi | 2009-12-09 23:13:59 +0100 r8022@Thesaurus (orig r8010): frew | 2009-12-02 17:57:17 +0100 branch for replacing TOP with RNO in MSSQL r8027@Thesaurus (orig r8015): frew | 2009-12-03 02:48:36 +0100 Switch to RowNumberOver for MSSQL r8028@Thesaurus (orig r8016): ribasushi | 2009-12-03 10:03:18 +0100 The correct top100 mssql solution and test r8031@Thesaurus (orig r8019): frew | 2009-12-03 15:56:35 +0100 fix RNO for MSSQL to not use a kludgy regexp r8032@Thesaurus (orig r8020): frew | 2009-12-04 01:33:28 +0100 initial (broken) version of 42rno.t r8033@Thesaurus (orig r8021): frew | 2009-12-04 01:37:06 +0100 first shot at moving stuff around r8034@Thesaurus (orig r8022): frew | 2009-12-04 01:45:42 +0100 rename files to get rid of numbers and use folders r8035@Thesaurus (orig r8023): frew | 2009-12-04 01:48:00 +0100 missed toplimit r8036@Thesaurus (orig r8024): frew | 2009-12-04 01:52:44 +0100 still broken rno test, but now it actually tests mssql r8042@Thesaurus (orig r8030): ribasushi | 2009-12-04 09:34:56 +0100 Variable clash r8043@Thesaurus (orig r8031): ribasushi | 2009-12-04 11:44:47 +0100 The complex prefetch rewrite actually takes care of this as cleanly as possible r8044@Thesaurus (orig r8032): ribasushi | 2009-12-04 11:47:22 +0100 Smarter implementation of the select top 100pct subselect handling r8045@Thesaurus (orig r8033): ribasushi | 2009-12-04 12:07:05 +0100 Add support for unordered limited resultsets Rename the limit helper to signify it is MS specific Make sure we don't lose group_by/having clauses r8046@Thesaurus (orig r8034): ribasushi | 2009-12-04 12:07:56 +0100 Un-todoify mssql limit tests - no changes necessary (throw away the obsolete generated sql checks) r8047@Thesaurus (orig r8035): ribasushi | 2009-12-04 12:24:13 +0100 Tests for bindvar propagation and Changes r8049@Thesaurus (orig r8037): ribasushi | 2009-12-04 15:01:32 +0100 KISS - a select(1) makes perfect ordering criteria r8050@Thesaurus (orig r8038): ribasushi | 2009-12-04 15:06:11 +0100 Unify the MSSQL and DB2 RNO implementations - they are the same r8051@Thesaurus (orig r8039): ribasushi | 2009-12-05 10:29:50 +0100 Wrap mssql selects in yet another subquery to make limited right-ordered join resultsets possible r8052@Thesaurus (orig r8040): ribasushi | 2009-12-05 10:46:41 +0100 Better not touch Top - it's too complex at this point r8053@Thesaurus (orig r8041): ribasushi | 2009-12-05 11:03:00 +0100 Extend test just a bit more r8054@Thesaurus (orig r8042): ribasushi | 2009-12-05 11:44:25 +0100 DB2 and MSSQL have different default order syntaxes r8056@Thesaurus (orig r8044): frew | 2009-12-08 02:10:06 +0100 add version check for mssql 2005 and greater r8059@Thesaurus (orig r8047): frew | 2009-12-08 16:15:50 +0100 real exception instead of die r8061@Thesaurus (orig r8049): ribasushi | 2009-12-09 00:19:49 +0100 Test for immediate connection with known storage type r8062@Thesaurus (orig r8050): frew | 2009-12-09 01:24:45 +0100 fix mssql version check so it's lazier r8064@Thesaurus (orig r8052): ribasushi | 2009-12-09 02:40:51 +0100 Fix comment r8066@Thesaurus (orig r8054): caelum | 2009-12-09 16:12:56 +0100 fix _get_mssql_version for ODBC r8071@Thesaurus (orig r8059): frew | 2009-12-10 00:32:55 +0100 fail nicely if user doesn't have perms for xp_msver r8073@Thesaurus (orig r8061): ribasushi | 2009-12-10 09:36:21 +0100 Changes r8074@Thesaurus (orig r8062): ribasushi | 2009-12-10 09:53:38 +0100 First half of distinct cleanup r8075@Thesaurus (orig r8063): frew | 2009-12-10 16:04:37 +0100 release 0.08115 r8076@Thesaurus (orig r8064): ribasushi | 2009-12-12 12:31:12 +0100 Even clearer unloaded FK exception r8078@Thesaurus (orig r8066): ribasushi | 2009-12-12 14:27:18 +0100 As clear as it gets r8141@Thesaurus (orig r8129): ovid | 2009-12-16 17:40:50 +0100 Have has_one/might_have warn if set on nullable columns. r8143@Thesaurus (orig r8131): caelum | 2009-12-17 13:30:10 +0100 somewhat better fix for ADO r8144@Thesaurus (orig r8132): caelum | 2009-12-17 13:34:20 +0100 minor changes r8146@Thesaurus (orig r8134): caelum | 2009-12-17 17:44:34 +0100 cleanup source_bind_attributes for ADO r8147@Thesaurus (orig r8135): caelum | 2009-12-17 18:09:55 +0100 more types for ADO fix, and documentation r8148@Thesaurus (orig r8136): abraxxa | 2009-12-17 19:54:55 +0100 Cookbook POD fix for add_drop_table instead of add_drop_tables r8158@Thesaurus (orig r8146): ribasushi | 2009-12-18 14:55:53 +0100 r8150@Thesaurus (orig r8138): abraxxa | 2009-12-17 23:22:07 +0100 Views without a view_definition won't be added to the SQL::Translator::Schema by the parser + tests r8151@Thesaurus (orig r8139): abraxxa | 2009-12-17 23:23:33 +0100 test cleanups r8153@Thesaurus (orig r8141): abraxxa | 2009-12-18 14:34:14 +0100 throw_exception if view_definition is missing instead of silent skipping + test changes r8154@Thesaurus (orig r8142): abraxxa | 2009-12-18 14:40:32 +0100 use Test::Exception r8155@Thesaurus (orig r8143): abraxxa | 2009-12-18 14:42:00 +0100 fixed Changes r8156@Thesaurus (orig r8144): abraxxa | 2009-12-18 14:44:52 +0100 test cleanups r8157@Thesaurus (orig r8145): ribasushi | 2009-12-18 14:46:26 +0100 Another bitr r8160@Thesaurus (orig r8148): ribasushi | 2009-12-18 15:04:34 +0100 Fix no_index entries r8162@Thesaurus (orig r8150): abraxxa | 2009-12-18 15:59:58 +0100 Schema POD inprovement for dclone r8163@Thesaurus (orig r8151): abraxxa | 2009-12-18 16:07:27 +0100 link to DBIx::Class::Row r8164@Thesaurus (orig r8152): abraxxa | 2009-12-18 16:08:56 +0100 fixed typo in Changes r8165@Thesaurus (orig r8153): abraxxa | 2009-12-18 16:14:47 +0100 dclone pod take #2 r8169@Thesaurus (orig r8157): ribasushi | 2009-12-19 18:47:42 +0100 detabify r8170@Thesaurus (orig r8158): ribasushi | 2009-12-19 19:41:42 +0100 Fix RT52812 r8171@Thesaurus (orig r8159): caelum | 2009-12-23 07:16:29 +0100 minor POD fixes r8175@Thesaurus (orig r8163): ribasushi | 2009-12-24 09:59:52 +0100 Fix deployment_statements context sensitivity regression r8176@Thesaurus (orig r8164): ribasushi | 2009-12-24 10:13:37 +0100 Don't call the PK setter if no PK r8204@Thesaurus (orig r8192): caelum | 2009-12-30 22:58:47 +0100 bump CAG dep r8231@Thesaurus (orig r8219): matthewt | 2010-01-02 01:41:12 +0100 fix typo in variable name r8238@Thesaurus (orig r8226): rafl | 2010-01-02 18:46:40 +0100 Merge branch 'native_traits' * native_traits: Port replicated storage from MXAH to native traits. Create branch native_traits r8244@Thesaurus (orig r8232): caelum | 2010-01-04 00:30:51 +0100 fix _rebless into sybase/mssql/nobindvars r8247@Thesaurus (orig r8235): caelum | 2010-01-05 13:54:56 +0100 r22328@hlagh (orig r8201): caelum | 2009-12-31 12:29:51 -0500 new branch to fix table aliases in queries over the 30char limit r22329@hlagh (orig r8202): caelum | 2009-12-31 12:55:50 -0500 failing test r22330@hlagh (orig r8203): caelum | 2009-12-31 13:00:35 -0500 switch oracle tests to done_testing() r22331@hlagh (orig r8204): caelum | 2009-12-31 15:02:50 -0500 got something working r22332@hlagh (orig r8205): caelum | 2009-12-31 15:08:30 -0500 POD touchups r22343@hlagh (orig r8216): caelum | 2010-01-01 07:42:03 -0500 fix uninitialized warning and a bug in ResultSet r22419@hlagh (orig r8234): caelum | 2010-01-05 07:53:18 -0500 append half of a base64 MD5 to shortened table aliases for Oracle r8249@Thesaurus (orig r8237): caelum | 2010-01-05 15:27:40 +0100 minor change: use more of the hash if possible for oracle table alias shortening r8251@Thesaurus (orig r8239): caelum | 2010-01-06 02:20:17 +0100 bump perl_version to 5.8.1 r8252@Thesaurus (orig r8240): caelum | 2010-01-06 02:21:41 +0100 remove alignment mark on base64 md5 r8260@Thesaurus (orig r8248): ribasushi | 2010-01-07 11:21:55 +0100 5.8.1 is minimum required perl r8261@Thesaurus (orig r8249): ribasushi | 2010-01-07 11:22:42 +0100 Minor optimization r8262@Thesaurus (orig r8250): ribasushi | 2010-01-07 11:23:35 +0100 Wrong title r8265@Thesaurus (orig r8253): ribasushi | 2010-01-08 17:48:50 +0100 Resolve problem reported by http://lists.scsys.co.uk/pipermail/dbix-class/2009-December/008699.html r8266@Thesaurus (orig r8254): ribasushi | 2010-01-08 17:52:01 +0100 Put utf8columns in line with the store_column fix r8267@Thesaurus (orig r8255): ribasushi | 2010-01-08 19:03:26 +0100 Tests while hunting for something else r8268@Thesaurus (orig r8256): ribasushi | 2010-01-08 19:14:42 +0100 Make test look even more like http://lists.scsys.co.uk/pipermail/dbix-class/2009-November/008599.html r8277@Thesaurus (orig r8265): ribasushi | 2010-01-09 02:16:14 +0100 r8263@Thesaurus (orig r8251): ribasushi | 2010-01-08 15:43:38 +0100 New branch to find a leak r8264@Thesaurus (orig r8252): ribasushi | 2010-01-08 15:52:46 +0100 Weird test failures r8272@Thesaurus (orig r8260): ribasushi | 2010-01-09 01:24:56 +0100 Proper invocation r8273@Thesaurus (orig r8261): ribasushi | 2010-01-09 01:35:34 +0100 Test for the real leak reason r8274@Thesaurus (orig r8262): ribasushi | 2010-01-09 01:37:33 +0100 Void ctx as it should be r8275@Thesaurus (orig r8263): ribasushi | 2010-01-09 02:10:13 +0100 A "fix" for sqlt-related schema leaks r8276@Thesaurus (orig r8264): ribasushi | 2010-01-09 02:15:53 +0100 Changes r8287@Thesaurus (orig r8275): caelum | 2010-01-10 11:29:06 +0100 r22483@hlagh (orig r8272): caelum | 2010-01-09 05:52:15 -0500 new branch to add "normalize_connect_info" class method to Storage::DBI r22495@hlagh (orig r8274): caelum | 2010-01-10 05:27:42 -0500 split connect_info parser out into private _normalize_connect_info r8289@Thesaurus (orig r8277): caelum | 2010-01-10 12:04:52 +0100 fix connection details in ::DBI::Replicated docs r8291@Thesaurus (orig r8279): ribasushi | 2010-01-11 09:50:21 +0100 r8077@Thesaurus (orig r8065): ribasushi | 2009-12-12 14:24:30 +0100 Branch for yet another mssql ordered prefetch problem r8079@Thesaurus (orig r8067): ribasushi | 2009-12-12 14:37:48 +0100 prefetch does not get disassembled properly r8112@Thesaurus (orig r8100): ribasushi | 2009-12-13 00:07:00 +0100 Extra test to highlight search_related inefficiency r8113@Thesaurus (orig r8101): ribasushi | 2009-12-13 00:17:44 +0100 Real test for search_related and prefetch r8114@Thesaurus (orig r8102): ribasushi | 2009-12-13 00:19:57 +0100 Fix corner case regression on search_related on a prefetching rs r8115@Thesaurus (orig r8103): ribasushi | 2009-12-13 00:21:05 +0100 Isolate prefetch heads using RNO with a subquery r8116@Thesaurus (orig r8104): ribasushi | 2009-12-13 00:23:46 +0100 Changes r8125@Thesaurus (orig r8113): ribasushi | 2009-12-15 13:06:26 +0100 Extend mssql limited prefetch tests r8126@Thesaurus (orig r8114): ribasushi | 2009-12-15 13:08:56 +0100 Add extra test to prove Alan wrong :) r8132@Thesaurus (orig r8120): ribasushi | 2009-12-16 00:38:04 +0100 Do not realias tables in the RNO subqueries r8133@Thesaurus (orig r8121): ribasushi | 2009-12-16 00:50:52 +0100 Deliberately disturb alphabetical order r8134@Thesaurus (orig r8122): ribasushi | 2009-12-16 10:26:43 +0100 Got a failing test r8135@Thesaurus (orig r8123): ribasushi | 2009-12-16 10:49:10 +0100 Cleanup r8136@Thesaurus (orig r8124): ribasushi | 2009-12-16 10:51:58 +0100 More moving around r8137@Thesaurus (orig r8125): ribasushi | 2009-12-16 11:25:37 +0100 The real mssql problem - it's... bad r8138@Thesaurus (orig r8126): ribasushi | 2009-12-16 11:29:20 +0100 Clearer debug r8139@Thesaurus (orig r8127): ribasushi | 2009-12-16 11:47:48 +0100 This is horrific but the tests pass... maybe someone will figure out something better r8140@Thesaurus (orig r8128): ribasushi | 2009-12-16 16:45:47 +0100 cleanup tests r8187@Thesaurus (orig r8175): ribasushi | 2009-12-24 16:22:30 +0100 Ordered subqueries do not work in mssql after all r8271@Thesaurus (orig r8259): ribasushi | 2010-01-08 23:58:13 +0100 Cleaner RNO sql r8279@Thesaurus (orig r8267): ribasushi | 2010-01-09 10:13:16 +0100 Subqueries no longer experimental r8280@Thesaurus (orig r8268): ribasushi | 2010-01-09 11:26:46 +0100 Close the book on mssql ordered subqueries r8281@Thesaurus (orig r8269): ribasushi | 2010-01-09 11:36:36 +0100 Changes and typos r8283@Thesaurus (orig r8271): ribasushi | 2010-01-09 11:42:21 +0100 Highlight the real problem r8285@Thesaurus (orig r8273): ribasushi | 2010-01-10 10:07:10 +0100 Rename subquery to subselect and rewrite POD (per castaway) r8290@Thesaurus (orig r8278): ribasushi | 2010-01-10 17:01:24 +0100 rename as per mst r8295@Thesaurus (orig r8283): caelum | 2010-01-11 23:42:30 +0100 make a public ::Schema::unregister_source r8298@Thesaurus (orig r8286): abraxxa | 2010-01-12 18:04:18 +0100 fixed a typo in Changes more detailed explanation for the warning about has_one/might_have rels on nullable columns r8307@Thesaurus (orig r8295): abraxxa | 2010-01-13 17:28:05 +0100 added the sources parser arg to the example code r8327@Thesaurus (orig r8315): ribasushi | 2010-01-15 01:25:39 +0100 r8167@Thesaurus (orig r8155): ribasushi | 2009-12-19 12:50:13 +0100 New branch for null-only-result fix r8168@Thesaurus (orig r8156): ribasushi | 2009-12-19 12:51:21 +0100 Failing test r8322@Thesaurus (orig r8310): ribasushi | 2010-01-15 00:48:09 +0100 Correct test order r8323@Thesaurus (orig r8311): ribasushi | 2010-01-15 01:15:33 +0100 Generalize the to-node inner-join-er to apply to all related_resultset calls, not just counts r8324@Thesaurus (orig r8312): ribasushi | 2010-01-15 01:16:05 +0100 Adjust sql-emitter tests r8326@Thesaurus (orig r8314): ribasushi | 2010-01-15 01:25:10 +0100 One more sql-test fix and changes r8328@Thesaurus (orig r8316): ribasushi | 2010-01-15 01:31:58 +0100 Strict mysql bugfix r8329@Thesaurus (orig r8317): ribasushi | 2010-01-15 01:38:53 +0100 Better description of mysql strict option r8331@Thesaurus (orig r8319): ribasushi | 2010-01-15 03:12:13 +0100 Update troubleshooting doc r8337@Thesaurus (orig r8325): ribasushi | 2010-01-15 17:13:28 +0100 RT52674 r8346@Thesaurus (orig r8334): ribasushi | 2010-01-17 09:41:49 +0100 No method aliasing in OO code, *ever* --- 315c247722defde25149620dee717fca86194768