John Napiorkowski [Thu, 19 Jun 2008 14:45:42 +0000]
removed ->reload_row from storage, changed this to a method based on the actual row object. discard_changes is still semantically ambiguous but this solution is better
Jess Robinson [Wed, 11 Jun 2008 16:27:21 +0000]
Merge 'trunk' into 'replication_dedux'
r13841@dev (orig r4492): castaway | 2008-06-11 11:27:21 -0500
Blasted relation docs..
John Napiorkowski [Thu, 12 Jun 2008 17:30:32 +0000]
more cleanly separated DBIC::Storage::Replicated from any storage functions (trying to make sure everything goes to the master or slave correctly), added some tests around this issue and updated the docs a bit.
Jess Robinson [Wed, 11 Jun 2008 16:27:21 +0000]
Blasted relation docs..
John Napiorkowski [Wed, 11 Jun 2008 15:01:00 +0000]
1) changed all 4 space indentation to 2 space style indents for replication code, 2) fixed broken index test that was broken after pulling from trunk, 3) updated some docs and better internal docs for replication test, 4) added a couple of new tests to make sure replication does not explode if you are careless about transactions inside of transactions inside of execute_reliably, etc.
John Napiorkowski [Wed, 11 Jun 2008 14:41:07 +0000]
Merge 'trunk' into 'replication_dedux'
r13798@dev (orig r4486): lukes | 2008-06-10 15:08:17 -0500
r8139@luke-mbp (orig r4482): lukes | 2008-06-10 17:25:34 +0100
new branch for making the FK index optional
r8140@luke-mbp (orig r4483): lukes | 2008-06-10 20:09:24 +0100
added some perldoc
r8141@luke-mbp (orig r4484): lukes | 2008-06-10 20:40:42 +0100
allow add_fk_index param to be specified in rel def
r8142@luke-mbp (orig r4485): lukes | 2008-06-10 21:07:56 +0100
fixed failing test
r13800@dev (orig r4488): castaway | 2008-06-11 07:25:15 -0500
Point at "prefetch" in the get/set cache docs
r13801@dev (orig r4489): castaway | 2008-06-11 07:54:58 -0500
Add docs to update mentioning scalar refs and discard_changes
Jess Robinson [Wed, 11 Jun 2008 12:54:58 +0000]
Add docs to update mentioning scalar refs and discard_changes
Jess Robinson [Wed, 11 Jun 2008 12:25:15 +0000]
Point at "prefetch" in the get/set cache docs
Luke Saunders [Tue, 10 Jun 2008 20:08:17 +0000]
Merge 'parser_fk_index' into 'trunk'
r8139@luke-mbp (orig r4482): lukes | 2008-06-10 17:25:34 +0100
new branch for making the FK index optional
r8140@luke-mbp (orig r4483): lukes | 2008-06-10 20:09:24 +0100
added some perldoc
r8141@luke-mbp (orig r4484): lukes | 2008-06-10 20:40:42 +0100
allow add_fk_index param to be specified in rel def
r8142@luke-mbp (orig r4485): lukes | 2008-06-10 21:07:56 +0100
fixed failing test
Luke Saunders [Tue, 10 Jun 2008 20:07:56 +0000]
fixed failing test
Luke Saunders [Tue, 10 Jun 2008 19:40:42 +0000]
allow add_fk_index param to be specified in rel def
Luke Saunders [Tue, 10 Jun 2008 19:09:24 +0000]
added some perldoc
John Napiorkowski [Sat, 7 Jun 2008 15:59:28 +0000]
clarified documentation about setting up slave dsn
John Napiorkowski [Thu, 5 Jun 2008 16:28:23 +0000]
all your tabs belong to spaces
John Napiorkowski [Thu, 5 Jun 2008 14:28:00 +0000]
Merge 'trunk' into 'replication_dedux'
r13636@dev (orig r4470): blblack | 2008-06-05 01:57:09 -0500
_verify_pid mods _dbh, so we must call it again here
r13637@dev (orig r4471): blblack | 2008-06-05 02:21:42 -0500
remove a line from the threads test that had the potential to mask bugs, and copy it to a new "threadtxn" test too, which uses a txn_do in each thread to do the same stuff
Brandon L. Black [Thu, 5 Jun 2008 07:21:42 +0000]
remove a line from the threads test that had the potential to mask bugs, and copy it to a new "threadtxn" test too, which uses a txn_do in each thread to do the same stuff
Brandon L. Black [Thu, 5 Jun 2008 06:57:09 +0000]
_verify_pid mods _dbh, so we must call it again here
John Napiorkowski [Wed, 4 Jun 2008 17:49:15 +0000]
fixed boneheaded failure to properly propogate txn_do
John Napiorkowski [Wed, 4 Jun 2008 17:12:45 +0000]
Merge 'trunk' into 'replication_dedux'
r13529@dev (orig r4456): castaway | 2008-06-02 13:46:12 -0500
I suck, should read code while doccing it, not assume someone else got it right!
r13584@dev (orig r4462): ash | 2008-06-03 11:11:25 -0500
Remove the length limit on identifiers - it doesn't belong in DBIx::Class
A few doc fixes
r13585@dev (orig r4463): ash | 2008-06-03 13:15:27 -0500
Remove Digest::SHA1 dep too
Ash Berlin [Tue, 3 Jun 2008 18:15:27 +0000]
Remove Digest::SHA1 dep too
Ash Berlin [Tue, 3 Jun 2008 16:11:25 +0000]
Remove the length limit on identifiers - it doesn't belong in DBIx::Class
A few doc fixes
John Napiorkowski [Tue, 3 Jun 2008 15:59:17 +0000]
fix to make sure execute_reliably method properly finds its attributes
Jess Robinson [Mon, 2 Jun 2008 18:46:12 +0000]
I suck, should read code while doccing it, not assume someone else got it right!
John Napiorkowski [Mon, 2 Jun 2008 14:37:00 +0000]
Merge 'trunk' into 'replication_dedux'
r13508@dev (orig r4441): castaway | 2008-05-30 17:41:03 -0500
Update docs for best practices and correctness.
r13509@dev (orig r4448): castaway | 2008-05-31 15:14:05 -0500
Fix broken pod test (missing newline!)
r13510@dev (orig r4451): ash | 2008-06-01 05:28:14 -0500
Prepare for new dev release
Ash Berlin [Sun, 1 Jun 2008 10:28:14 +0000]
Prepare for new dev release
Jess Robinson [Sat, 31 May 2008 20:14:05 +0000]
Fix broken pod test (missing newline!)
Jess Robinson [Fri, 30 May 2008 22:41:03 +0000]
Update docs for best practices and correctness.
John Napiorkowski [Fri, 30 May 2008 16:37:56 +0000]
reverted unneeded change to field name in Treelike.pm to parent from parent_fk, updated all underlying tests and related bits as requested by Castaway.
John Napiorkowski [Fri, 30 May 2008 15:59:13 +0000]
Merge 'trunk' into 'replication_dedux'
r13492@dev (orig r4434): matthewt | 2008-05-30 09:36:16 -0500
throw exception for multi-has_many prefetch
r13493@dev (orig r4435): ash | 2008-05-30 09:40:31 -0500
Make irc/mailing list much more prominent in the docs
r13494@dev (orig r4436): ash | 2008-05-30 10:13:36 -0500
Tidy up TxnScopeGuard and its tests a bit
r13495@dev (orig r4437): ribasushi | 2008-05-30 10:19:58 -0500
Adjust prefetch tests to not blow up after r4434
r13496@dev (orig r4438): castaway | 2008-05-30 10:58:16 -0500
Updating to new doc standard.
Adding more examples of alternate calls.
Jess Robinson [Fri, 30 May 2008 15:58:16 +0000]
Updating to new doc standard.
Adding more examples of alternate calls.
Peter Rabbitson [Fri, 30 May 2008 15:19:58 +0000]
Adjust prefetch tests to not blow up after r4434
Ash Berlin [Fri, 30 May 2008 15:13:36 +0000]
Tidy up TxnScopeGuard and its tests a bit
Ash Berlin [Fri, 30 May 2008 14:40:31 +0000]
Make irc/mailing list much more prominent in the docs
Matt S Trout [Fri, 30 May 2008 14:36:16 +0000]
throw exception for multi-has_many prefetch
John Napiorkowski [Fri, 30 May 2008 14:32:24 +0000]
fixed failing test for sqlt
John Napiorkowski [Fri, 30 May 2008 13:55:35 +0000]
Merge 'trunk' into 'replication_dedux'
r13471@dev (orig r4428): matthewt | 2008-05-30 07:36:19 -0500
fix SQL::Translator parser to add $table_idx_ on the front of index names to prevent clashes
r13472@dev (orig r4429): castaway | 2008-05-30 08:20:26 -0500
Started doc standards doc in Manual::Reading.
Fixed up belongs_to example to put more emphasis on the "column" part of "foreign_key_column" and corrected first paragraph.
r13473@dev (orig r4430): ash | 2008-05-30 08:29:32 -0500
Make ingore_{constraint,index}_names default
r13474@dev (orig r4431): ash | 2008-05-30 08:34:39 -0500
Update docs (and code changes that were missed from last commit, oops):
Set ignore_contraint_names to default on
Ash Berlin [Fri, 30 May 2008 13:34:39 +0000]
Update docs (and code changes that were missed from last commit, oops):
Set ignore_contraint_names to default on
Ash Berlin [Fri, 30 May 2008 13:29:32 +0000]
Make ingore_{constraint,index}_names default
Jess Robinson [Fri, 30 May 2008 13:20:26 +0000]
Started doc standards doc in Manual::Reading.
Fixed up belongs_to example to put more emphasis on the "column" part of "foreign_key_column" and corrected first paragraph.
Matt S Trout [Fri, 30 May 2008 12:36:19 +0000]
fix SQL::Translator parser to add $table_idx_ on the front of index names to prevent clashes
John Napiorkowski [Fri, 30 May 2008 00:18:39 +0000]
fixed failing test in podcoverage, fixed regression in replication test that caused the default fake sqlite replication to fail. not so important since sqlite doesnt replicate but we do not like to see failing tests.
John Napiorkowski [Thu, 29 May 2008 23:03:15 +0000]
changed Storage->reload_row to do less, reverted some behavior to PK->discard_changes. Did this to solve some capatibility issues with partitioning. updated docs to reflect this.
John Napiorkowski [Thu, 29 May 2008 18:30:39 +0000]
discard changes now is forced to use master for replication. changed discard_changes guts to point to new method called reload_row in storage. fixed problem with replicated transactionws not returning the right thing. added tests to all the above
John Napiorkowski [Wed, 28 May 2008 19:15:34 +0000]
created storage method to execute a coderef using master storage only, changed tnx_do to only use the master, wrote tests for both the above, wrote docs for both the above
John Napiorkowski [Wed, 28 May 2008 17:29:00 +0000]
Merge 'trunk' into 'replication_dedux'
r13166@dev (orig r4392): castaway | 2008-05-19 16:57:25 -0500
Added doc for "for => update" attribute, thanks StuartL.
r13167@dev (orig r4393): castaway | 2008-05-19 16:59:16 -0500
Oops, =cut after the pod not in the middle
r13272@dev (orig r4419): ash | 2008-05-27 05:41:44 -0500
Update FAQ to mention behavour of scalar refs w.r.t. update
r13273@dev (orig r4420): ash | 2008-05-27 07:49:09 -0500
Add set_cache example to cookbook
r13274@dev (orig r4421): ash | 2008-05-27 07:50:10 -0500
Fix var name typo in cookbook
r13376@dev (orig r4422): matthewt | 2008-05-27 08:31:58 -0500
version bump, deprecated ResultSetManager
Matt S Trout [Tue, 27 May 2008 13:31:58 +0000]
version bump, deprecated ResultSetManager
Ash Berlin [Tue, 27 May 2008 12:50:10 +0000]
Fix var name typo in cookbook
Ash Berlin [Tue, 27 May 2008 12:49:09 +0000]
Add set_cache example to cookbook
Ash Berlin [Tue, 27 May 2008 10:41:44 +0000]
Update FAQ to mention behavour of scalar refs w.r.t. update
Jess Robinson [Mon, 19 May 2008 21:59:16 +0000]
Oops, =cut after the pod not in the middle
Jess Robinson [Mon, 19 May 2008 21:57:25 +0000]
Added doc for "for => update" attribute, thanks StuartL.
John Napiorkowski [Fri, 16 May 2008 17:31:16 +0000]
make sure that the Pool validates the replicants on the first query
John Napiorkowski [Wed, 14 May 2008 17:57:57 +0000]
documentation updates
John Napiorkowski [Wed, 14 May 2008 16:05:22 +0000]
changed SQLT::Parser::DBIC so that in FK constraints, both the field order for the source and target tables are ensured to follow the same ordering rule
John Napiorkowski [Wed, 14 May 2008 13:40:07 +0000]
Merge 'trunk' into 'replication_dedux'
r12028@dev (orig r4378): captainL | 2008-05-11 13:43:58 -0500
added test for find or create related functionality in nested inserts
r12029@dev (orig r4379): captainL | 2008-05-11 14:03:27 -0500
sanified new multi_create test
r12030@dev (orig r4381): ribasushi | 2008-05-12 06:09:20 -0500
Add failing tests for missing safeguards for multilevel prefetch (don't know the internals well enough to fix the issue itself)
Peter Rabbitson [Mon, 12 May 2008 11:09:20 +0000]
Add failing tests for missing safeguards for multilevel prefetch (don't know the internals well enough to fix the issue itself)
Luke Saunders [Sun, 11 May 2008 19:03:27 +0000]
sanified new multi_create test
Luke Saunders [Sun, 11 May 2008 18:43:58 +0000]
added test for find or create related functionality in nested inserts
John Napiorkowski [Fri, 9 May 2008 19:34:17 +0000]
removed bad tabbing
John Napiorkowski [Fri, 9 May 2008 18:32:58 +0000]
doh, replaced ability to configure pool args via the storage args
John Napiorkowski [Fri, 9 May 2008 17:00:46 +0000]
changed the way args are passed to a storage type that needs args so they can be in the form of a hash or array ref. This plays nicer with Config::General for loading
John Napiorkowski [Fri, 9 May 2008 15:53:45 +0000]
changed the balancer to a role, created a new class to define the default balancer behavior, finished the autovalidate code and added tests for all the above
John Napiorkowski [Fri, 9 May 2008 13:39:51 +0000]
Merge 'trunk' into 'replication_dedux'
r8571@dev (orig r4363): bricas | 2008-05-08 10:44:24 -0500
add Test::Exception to deps (RT #34256). move testing modules to test_requires().
r8572@dev (orig r4364): bricas | 2008-05-08 15:08:18 -0500
add RT ticket number to changes
r8579@dev (orig r4371): bricas | 2008-05-08 21:55:30 -0500
pod fix (RT #32988)
Brian Cassidy [Fri, 9 May 2008 02:55:30 +0000]
pod fix (RT #32988)
John Napiorkowski [Fri, 9 May 2008 01:40:03 +0000]
good start on the validation of replicants and a system to automatically validate them (although that might be a better role than inside a class, for someday!)
John Napiorkowski [Fri, 9 May 2008 00:31:58 +0000]
fixed up the relicant status tests to exclude them if the database is not a real replicating setup, removed some debug code, got the lag_behind_master and is_replicating methods working properly.
John Napiorkowski [Fri, 9 May 2008 00:06:42 +0000]
fixed up the relicant status tests to exclude them if the database is not a real replicating setup, removed some debug code, got the lag_behind_master and is_replicating methods working properly.
John Napiorkowski [Thu, 8 May 2008 23:34:55 +0000]
converted replicant to a role so that we can apply it after ensure_connected properly reblesses the storage into the correct driver specific storage
John Napiorkowski [Thu, 8 May 2008 21:43:16 +0000]
more cleanup of the test suite so that we can run it against other databases. fixed the problem with tests using self-referential constrainsts for dbs that have trouble handling that
John Napiorkowski [Thu, 8 May 2008 20:26:01 +0000]
lots of updates to make the test suite work with databases other than sqlite
Brian Cassidy [Thu, 8 May 2008 20:08:18 +0000]
add RT ticket number to changes
Brian Cassidy [Thu, 8 May 2008 15:44:24 +0000]
add Test::Exception to deps (RT #34256). move testing modules to test_requires().
John Napiorkowski [Thu, 8 May 2008 14:00:50 +0000]
Merge 'trunk' into 'replication_dedux'
r8568@dev (orig r4360): nigel | 2008-05-08 08:21:33 -0500
cascade_copy docs - takes from http://osdir.com/ml/lang.perl.modules.dbix-class/2007-03/msg00106.html
r8569@dev (orig r4361): nigel | 2008-05-08 08:22:44 -0500
cascade_copy docs (format fixed)
Nigel Metheringham [Thu, 8 May 2008 13:22:44 +0000]
cascade_copy docs (format fixed)
Nigel Metheringham [Thu, 8 May 2008 13:21:33 +0000]
cascade_copy docs - takes from osdir.com/ml/lang.perl.modules.dbix-class/2007-03/msg00106.html
John Napiorkowski [Wed, 7 May 2008 22:40:30 +0000]
changed the way args are passed to a storage, should make it easier to use existing code using this, added the master as a fallback to the the replicants, lots of small documentation updates and test improvements. all tests passing
John Napiorkowski [Wed, 7 May 2008 21:16:22 +0000]
Merge 'trunk' into 'replication_dedux'
r8564@dev (orig r4356): ribasushi | 2008-05-07 10:25:41 -0500
Correct order of BEGIN/use so that skip_all does not produce failures
r8565@dev (orig r4357): ribasushi | 2008-05-07 11:37:56 -0500
Various fixes to make testing with DBICTEST_SQLT_DEPLOY=1 possible
Peter Rabbitson [Wed, 7 May 2008 16:37:56 +0000]
Various fixes to make testing with DBICTEST_SQLT_DEPLOY=1 possible
Peter Rabbitson [Wed, 7 May 2008 15:25:41 +0000]
Correct order of BEGIN/use so that skip_all does not produce failures
Peter Rabbitson [Wed, 7 May 2008 13:33:50 +0000]
Merge 'trunk' into 'replication_dedux'
r8495@dev (orig r4354): ribasushi | 2008-05-07 08:33:50 -0500
Fix a forgotten CDBICompat component relocation
Peter Rabbitson [Wed, 7 May 2008 13:33:50 +0000]
Fix a forgotten CDBICompat component relocation
John Napiorkowski [Wed, 7 May 2008 00:43:52 +0000]
documented methods for detecting replicant reliability, created stub methods
John Napiorkowski [Wed, 7 May 2008 00:23:09 +0000]
refactored the duties of the different balancer classes, added tests and docs
John Napiorkowski [Tue, 6 May 2008 18:55:17 +0000]
Merge 'trunk' into 'replication_dedux'
John Napiorkowski [Tue, 6 May 2008 18:55:17 +0000]
updated Changes to document Replicated Storage type changes
John Napiorkowski [Tue, 6 May 2008 18:47:00 +0000]
changed the warning on DBIC::Storage::DBI->select_single so that it wont call fetch_* on an empty sth, updated tests for the above and added a todo test for the wrong count problem
Daniel Westermann-Clark [Mon, 5 May 2008 22:21:36 +0000]
Note that single expects a single row in the ResultSet docs
John Napiorkowski [Mon, 5 May 2008 21:41:48 +0000]
removed code that tossed an error in select_single when more than a single row is returned and updated the tests to TODO the bad count issue
John Napiorkowski [Mon, 5 May 2008 20:50:11 +0000]
Merge 'trunk' into 'replication_dedux'
r8434@dev (orig r4321): matthewt | 2008-05-05 12:55:23 -0500
reverse r4290 since we -do- -not- currently want these namespaces indexed
r8435@dev (orig r4326): jnapiorkowski | 2008-05-05 13:33:57 -0500
removed query count stuff from trunk so we can play with this on a branch instead
r8436@dev (orig r4330): matthewt | 2008-05-05 14:59:31 -0500
this was meant to be deleted with the rest of the Moose stuff
r8437@dev (orig r4331): matthewt | 2008-05-05 15:00:18 -0500
make override follow Replication -> Replicated rename
r8438@dev (orig r4332): matthewt | 2008-05-05 15:00:49 -0500
restore debolaz's cleanup patch since it's not what I thought it was and probably the right thing to do; mea culpa
r8439@dev (orig r4333): matthewt | 2008-05-05 15:22:17 -0500
missed another package line
r8440@dev (orig r4334): matthewt | 2008-05-05 15:32:58 -0500
improvements to the META.yml magic
r8442@dev (orig r4336): matthewt | 2008-05-05 15:46:21 -0500
no author notes in Changes if you're already in CONTRIBUTORS please, once you have that and a commit bit you're just another poor bastard stuck maintaining an ORM, just like I am
Matt S Trout [Mon, 5 May 2008 20:46:21 +0000]
no author notes in Changes if you're already in CONTRIBUTORS please, once you have that and a commit bit you're just another poor bastard stuck maintaining an ORM, just like I am
John Napiorkowski [Mon, 5 May 2008 20:42:52 +0000]
updated mysql test to reflect the fetch without execute error
Matt S Trout [Mon, 5 May 2008 20:32:58 +0000]
improvements to the META.yml magic
Matt S Trout [Mon, 5 May 2008 20:22:17 +0000]
missed another package line
Matt S Trout [Mon, 5 May 2008 20:00:49 +0000]
restore debolaz's cleanup patch since it's not what I thought it was and probably the right thing to do; mea culpa
Matt S Trout [Mon, 5 May 2008 20:00:18 +0000]
make override follow Replication -> Replicated rename
Matt S Trout [Mon, 5 May 2008 19:59:31 +0000]
this was meant to be deleted with the rest of the Moose stuff
John Napiorkowski [Mon, 5 May 2008 18:33:57 +0000]
removed query count stuff from trunk so we can play with this on a branch instead
Matt S Trout [Mon, 5 May 2008 17:55:23 +0000]
reverse r4290 since we -do- -not- currently want these namespaces indexed
John Napiorkowski [Thu, 1 May 2008 15:56:10 +0000]
changed replication test to support custom database connect info, added a little code to DBICTest to support this
John Napiorkowski [Wed, 30 Apr 2008 23:15:28 +0000]
added test to check when nothing is found