John Napiorkowski [Wed, 9 Jul 2008 17:35:06 +0000]
use BUILDARGS intead of wrapping new, added make_immutable, removed unnneeded test, added some docs
Luke Saunders [Wed, 9 Jul 2008 00:11:38 +0000]
Merge 'trunk' into 'replication_dedux'
r14821@dev (orig r4560): lukes | 2008-07-08 19:11:38 -0500
fixed versioned stuff to strip BEGIN from sql files
Luke Saunders [Wed, 9 Jul 2008 00:11:38 +0000]
fixed versioned stuff to strip BEGIN from sql files
John Napiorkowski [Mon, 7 Jul 2008 21:38:49 +0000]
updated documentation, adding some hints and details, changed the way we can use the resultset attribute to force a particular storage backend.
John Napiorkowski [Mon, 7 Jul 2008 19:16:32 +0000]
added some notes in the tests and fixed get_from_storage to actually use the new resultset attribute
John Napiorkowski [Mon, 7 Jul 2008 18:58:37 +0000]
removed some debugging comments, removed transaction from Row->get_from_storage, enabled support for new resultset attribute "execute_reliably" which signals the Balancer to send read requests to the Also refactored connect_replicants to break down functionality into two methods and added new Balancer method to roll the replicant to the next in the queque. added tests for all the above.
John Napiorkowski [Mon, 7 Jul 2008 13:08:34 +0000]
Merge 'trunk' into 'replication_dedux'
r14114@dev (orig r4505): gphat | 2008-06-19 08:06:57 -0500
Add make_column_dirty to Row (per request from #dbix-class questions)
r14293@dev (orig r4514): wdh | 2008-06-25 05:52:30 -0500
clarify that ->resultset_class must be called after ->load_components and ->table when using custom resultsets
r14324@dev (orig r4518): wdh | 2008-06-26 07:29:45 -0500
add troubleshooting examples for quoting issues
r14371@dev (orig r4519): castaway | 2008-06-26 14:51:35 -0500
Remove setup_connection_class from POD, skip in podcoverage
r14372@dev (orig r4520): lukes | 2008-06-27 05:18:08 -0500
changed default behaviour of do_upgrade in versioned to just run everything
r14600@dev (orig r4540): bricas | 2008-06-30 08:32:03 -0500
change my nick
r14601@dev (orig r4541): nigel | 2008-06-30 09:30:11 -0500
Corrected spelling of TRANSACTION in code reading sql upgrade script.
Pointed out by renormalist on IRC.
r14602@dev (orig r4542): bricas | 2008-06-30 09:36:37 -0500
update marcus in the authors
r14603@dev (orig r4543): lukes | 2008-06-30 13:38:08 -0500
added ignore_version connect attr and updated docs accordingly
r14604@dev (orig r4544): lukes | 2008-06-30 15:07:13 -0500
implemented versioning tests for version warns
r14715@dev (orig r4551): ash | 2008-07-02 09:53:32 -0500
Add caveat about prefetch
r14716@dev (orig r4552): wreis | 2008-07-02 17:19:39 -0500
updating changelog
r14717@dev (orig r4553): ribasushi | 2008-07-03 18:52:31 -0500
Minor cookbook fix (two adjacent examples were mixed up)
r14718@dev (orig r4554): lukes | 2008-07-04 07:03:51 -0500
made versioning overwrite ddl and diff files where appropriate and made arg order of ddl_filename consistent with create_ddl_filename
r14719@dev (orig r4555): lukes | 2008-07-07 07:11:32 -0500
moved schema_version from Versioning to core
Luke Saunders [Mon, 7 Jul 2008 12:11:32 +0000]
moved schema_version from Versioning to core
Luke Saunders [Fri, 4 Jul 2008 12:03:51 +0000]
made versioning overwrite ddl and diff files where appropriate and made arg order of ddl_filename consistent with create_ddl_filename
Peter Rabbitson [Thu, 3 Jul 2008 23:52:31 +0000]
Minor cookbook fix (two adjacent examples were mixed up)
Wallace Reis [Wed, 2 Jul 2008 22:19:39 +0000]
updating changelog
Ash Berlin [Wed, 2 Jul 2008 14:53:32 +0000]
Add caveat about prefetch
Luke Saunders [Mon, 30 Jun 2008 20:07:13 +0000]
implemented versioning tests for version warns
Luke Saunders [Mon, 30 Jun 2008 18:38:08 +0000]
added ignore_version connect attr and updated docs accordingly
Brian Cassidy [Mon, 30 Jun 2008 14:36:37 +0000]
update marcus in the authors
Nigel Metheringham [Mon, 30 Jun 2008 14:30:11 +0000]
Corrected spelling of TRANSACTION in code reading sql upgrade script.
Pointed out by renormalist on IRC.
Brian Cassidy [Mon, 30 Jun 2008 13:32:03 +0000]
change my nick
Luke Saunders [Fri, 27 Jun 2008 10:18:08 +0000]
changed default behaviour of do_upgrade in versioned to just run everything
Jess Robinson [Thu, 26 Jun 2008 19:51:35 +0000]
Remove setup_connection_class from POD, skip in podcoverage
Will Hawes [Thu, 26 Jun 2008 12:29:45 +0000]
add troubleshooting examples for quoting issues
Will Hawes [Wed, 25 Jun 2008 10:52:30 +0000]
clarify that ->resultset_class must be called after ->load_components and ->table when using custom resultsets
John Napiorkowski [Thu, 19 Jun 2008 15:48:39 +0000]
renamed get_current_storage to get_from_storage since the first method name is very poorly named
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
Cory G Watson [Thu, 19 Jun 2008 13:06:57 +0000]
Add make_column_dirty to Row (per request from #dbix-class questions)
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