15 years agochanged the way args are passed to a storage, should make it easier to use existing...
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

15 years agoMerge 'trunk' into 'replication_dedux'
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

15 years agoVarious 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

15 years agoCorrect order of BEGIN/use so that skip_all does not produce failures
Peter Rabbitson [Wed, 7 May 2008 15:25:41 +0000]
Correct order of BEGIN/use so that skip_all does not produce failures

15 years agoMerge 'trunk' into 'replication_dedux'
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

15 years agoFix a forgotten CDBICompat component relocation
Peter Rabbitson [Wed, 7 May 2008 13:33:50 +0000]
Fix a forgotten CDBICompat component relocation

15 years agodocumented methods for detecting replicant reliability, created stub methods
John Napiorkowski [Wed, 7 May 2008 00:43:52 +0000]
documented methods for detecting replicant reliability, created stub methods

15 years agorefactored the duties of the different balancer classes, added tests and docs
John Napiorkowski [Wed, 7 May 2008 00:23:09 +0000]
refactored the duties of the different balancer classes, added tests and docs

15 years agoMerge 'trunk' into 'replication_dedux'
John Napiorkowski [Tue, 6 May 2008 18:55:17 +0000]
Merge 'trunk' into 'replication_dedux'

15 years agoupdated Changes to document Replicated Storage type changes
John Napiorkowski [Tue, 6 May 2008 18:55:17 +0000]
updated Changes to document Replicated Storage type changes

15 years agochanged the warning on DBIC::Storage::DBI->select_single so that it wont call fetch_...
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

15 years agoNote that single expects a single row in the ResultSet docs
Daniel Westermann-Clark [Mon, 5 May 2008 22:21:36 +0000]
Note that single expects a single row in the ResultSet docs

15 years agoremoved code that tossed an error in select_single when more than a single row is...
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

15 years agoMerge 'trunk' into 'replication_dedux'
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

15 years agono author notes in Changes if you're already in CONTRIBUTORS please, once you have...
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

15 years agoupdated mysql test to reflect the fetch without execute error
John Napiorkowski [Mon, 5 May 2008 20:42:52 +0000]
updated mysql test to reflect the fetch without execute error

15 years agoimprovements to the META.yml magic
Matt S Trout [Mon, 5 May 2008 20:32:58 +0000]
improvements to the META.yml magic

15 years agomissed another package line
Matt S Trout [Mon, 5 May 2008 20:22:17 +0000]
missed another package line

15 years agorestore debolaz's cleanup patch since it's not what I thought it was and probably...
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

15 years agomake override follow Replication -> Replicated rename
Matt S Trout [Mon, 5 May 2008 20:00:18 +0000]
make override follow Replication -> Replicated rename

15 years agothis was meant to be deleted with the rest of the Moose stuff
Matt S Trout [Mon, 5 May 2008 19:59:31 +0000]
this was meant to be deleted with the rest of the Moose stuff

15 years agoremoved query count stuff from trunk so we can play with this on a branch instead
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

15 years agoreverse r4290 since we -do- -not- currently want these namespaces indexed
Matt S Trout [Mon, 5 May 2008 17:55:23 +0000]
reverse r4290 since we -do- -not- currently want these namespaces indexed

15 years agochanged replication test to support custom database connect info, added a little...
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

16 years agoadded test to check when nothing is found
John Napiorkowski [Wed, 30 Apr 2008 23:15:28 +0000]
added test to check when nothing is found

16 years agocleanup of some docs, got the default shuffling balancer to work properly. Don't...
John Napiorkowski [Wed, 30 Apr 2008 22:50:09 +0000]
cleanup of some docs, got the default shuffling balancer to work properly.  Don't fall in love with this behavior, since I'm probably going to change the default to balancer to just return the first replicant in the list, since this is optimised for the common case of a single replicant

16 years agoadded some advice to debugging replicants so that we can see a replicant dsn, got...
John Napiorkowski [Wed, 30 Apr 2008 22:30:47 +0000]
added some advice to debugging replicants so that we can see a replicant dsn, got this balancing between one master and slave, seems to run well

16 years agoadded some advice to debugging replicants so that we can see a replicant dsn, got...
John Napiorkowski [Wed, 30 Apr 2008 22:16:55 +0000]
added some advice to debugging replicants so that we can see a replicant dsn, got this balancing between one master and slave, seems to run well

16 years agogot first pass on the replication and balancer, passing all of the old test suite...
John Napiorkowski [Wed, 30 Apr 2008 20:26:26 +0000]
got first pass on the replication and balancer, passing all of the old test suite (which is not much, but it is a milestone of some sort)

16 years agonew config option to DBICTest to let you set an alternative storage type, start on...
John Napiorkowski [Wed, 30 Apr 2008 15:51:48 +0000]
new config option to DBICTest to let you set an alternative storage type, start on creating a DBIC based load balancer

16 years agominor formatting updates and typos fixes to the schema role tests
John Napiorkowski [Mon, 28 Apr 2008 18:36:58 +0000]
minor formatting updates and typos fixes to the schema role tests

16 years agofixed up the replication test, added some tests for the dbd::multi problem of null...
John Napiorkowski [Fri, 25 Apr 2008 22:33:29 +0000]
fixed up the replication test, added some tests for the dbd::multi problem of null results, fixed replicated.pm docs and a few typos

16 years agorenamed replication storage to replicated (since it's not really doing any replicatio...
John Napiorkowski [Fri, 25 Apr 2008 20:49:07 +0000]
renamed replication storage to replicated (since it's not really doing any replication itself)

16 years agoremoved auto-generated indexes from being explicitly created
Luke Saunders [Fri, 25 Apr 2008 17:35:24 +0000]
removed auto-generated indexes from being explicitly created

16 years agoFix PAUSE indexing of packages
Anders Nor Berle [Thu, 24 Apr 2008 09:04:15 +0000]
Fix PAUSE indexing of packages

16 years agotodo test from zby for set_from_related
Matt S Trout [Wed, 23 Apr 2008 19:47:31 +0000]
todo test from zby for set_from_related

16 years agoadded role for the at query interval run job system
John Napiorkowski [Tue, 22 Apr 2008 19:18:08 +0000]
added role for the at query interval run job system

16 years agoAdd a proxy deploy_statements() method executable directly on $schema instead of...
Peter Rabbitson [Sun, 20 Apr 2008 22:18:28 +0000]
Add a proxy deploy_statements() method executable directly on $schema instead of $schema->storage

16 years agoTODO tests for multiple same level has_many's
Peter Rabbitson [Sun, 20 Apr 2008 18:48:28 +0000]
TODO tests for multiple same level has_many's
Currenty both exception checks pass - should fail until the code is in place

16 years agoSplit prefetch related tests from 76joins.t
Peter Rabbitson [Sun, 20 Apr 2008 18:44:16 +0000]
Split prefetch related tests from 76joins.t

16 years agoadd TODO on constraint check
Matt S Trout [Sun, 20 Apr 2008 16:12:14 +0000]
add TODO on constraint check

16 years agofix loading checks
Matt S Trout [Sun, 20 Apr 2008 15:41:09 +0000]
fix loading checks

16 years agoquerycounter role, test for that and a new schema hierarchy for additional Moose...
John Napiorkowski [Fri, 18 Apr 2008 22:22:41 +0000]
querycounter role, test for that and a new schema hierarchy for additional Moose related development

16 years agoremoved pointless debugging module
John Napiorkowski [Thu, 17 Apr 2008 13:55:11 +0000]
removed pointless debugging module

16 years ago- added tests to replication to make sure dbd::multi fails over when a dtabase is...
John Napiorkowski [Thu, 17 Apr 2008 13:41:17 +0000]
- added tests to replication to make sure dbd::multi fails over when a dtabase is forcible disconnected
- updated DBIC::DBI::Replication so that in addition to a dsn string, you can pass a preexisting database handle.

16 years agoDocumentation updates from omega, carbon
Jess Robinson [Wed, 16 Apr 2008 20:57:22 +0000]
Documentation updates from omega, carbon

16 years agoAdd warnings for non-unique find usage and improve explicit key attr handling in...
Daniel Westermann-Clark [Fri, 11 Apr 2008 21:25:26 +0000]
Add warnings for non-unique find usage and improve explicit key attr handling in find (zby)

16 years agoFix a typo.
Tom Hukins [Wed, 9 Apr 2008 11:18:46 +0000]
Fix a typo.

16 years agoAs of revision 4232, DBIx::Class uses Path::Class. Add this module to
Tom Hukins [Wed, 9 Apr 2008 09:28:32 +0000]
As of revision 4232, DBIx::Class uses Path::Class.  Add this module to
DBIx::Class's dependencies.

16 years agoMissing file
Ash Berlin [Tue, 1 Apr 2008 14:10:31 +0000]
Missing file

16 years agoConstraint/index name fix from rdj
Ash Berlin [Tue, 1 Apr 2008 12:01:16 +0000]
Constraint/index name fix from rdj

16 years agoRemoving since Build.PL is not longer supported in modern M::I
Ash Berlin [Tue, 1 Apr 2008 11:22:15 +0000]
Removing since Build.PL is not longer supported in modern M::I

16 years agofixed typos
Wallace Reis [Thu, 27 Mar 2008 02:35:48 +0000]
fixed typos

16 years agoadded search_related_rs at resultset
Wallace Reis [Wed, 26 Mar 2008 22:23:39 +0000]
added search_related_rs at resultset

16 years agofix pod fail
Matt S Trout [Wed, 26 Mar 2008 21:23:16 +0000]
fix pod fail

16 years agoCDBICompat::Relationships uses Clone. Make CDBICompat not load without it
Michael G Schwern [Wed, 26 Mar 2008 00:38:28 +0000]
CDBICompat::Relationships uses Clone.  Make CDBICompat not load without it
so the tests skip if it's not there.

Also improve the message to only show what's missing.

16 years agoBack all savepoint tests out of (mysql|pg).t
Anders Nor Berle [Tue, 25 Mar 2008 04:03:32 +0000]
Back all savepoint tests out of (mysql|pg).t

There's not a dire need to have them there, the only thing they
would be testing are the ->_svp_* methods on Storage, which are
tested in 98savepoints.t anyway.

I kept the changes in 72pg.t that was neccesary for it to run
to completion though.

16 years agoAnd document the last changes
Anders Nor Berle [Tue, 25 Mar 2008 02:33:50 +0000]
And document the last changes

16 years agoVarious fun things.
Anders Nor Berle [Tue, 25 Mar 2008 02:19:26 +0000]
Various fun things.

DONE:
* We now maintain a stack for savepoints.
* Most savepoint tests are now in a separate test file.
* Arguments to svp_* methods are now optional.
* We throw exceptions instead of warn on many places.
* gphat++

TODO:
* Document all this.

16 years agoMerge 'storage-ms-access' into 'trunk'
Øystein Torget [Thu, 6 Mar 2008 17:32:12 +0000]
Merge 'storage-ms-access' into 'trunk'

16 years agoMerge 'file_column' into 'trunk'
Marc Mims [Tue, 8 Jan 2008 01:06:05 +0000]
Merge 'file_column' into 'trunk'

r15147@agaton (orig r3920):  semifor | 2008-01-07 19:06:05 +0000
Restore InflateColumn::File functionality.

16 years agoMerge 'savepoints' into 'trunk'
Anders Nor Berle [Mon, 24 Mar 2008 10:08:51 +0000]
Merge 'savepoints' into 'trunk'

16 years agoMention savepoint support in Changes
Anders Nor Berle [Mon, 24 Mar 2008 05:08:51 +0000]
Mention savepoint support in Changes

16 years agoFix typo.
Anders Nor Berle [Mon, 24 Mar 2008 03:54:07 +0000]
Fix typo.

16 years agoDocument the auto_savepoint option for connect_info
Anders Nor Berle [Mon, 24 Mar 2008 03:50:43 +0000]
Document the auto_savepoint option for connect_info

16 years agoInitial commit of auto_savepoint + some fixes
Anders Nor Berle [Mon, 24 Mar 2008 03:14:15 +0000]
Initial commit of auto_savepoint + some fixes

16 years agoRemove unnecessary passing of $self->dbh as a separate param to savepoint methods
Cory G Watson [Sun, 23 Mar 2008 23:52:13 +0000]
Remove unnecessary passing of $self->dbh as a separate param to savepoint methods

16 years agoMerge 0.09's savepoint branch
Cory G Watson [Sun, 23 Mar 2008 23:42:04 +0000]
Merge 0.09's savepoint branch

16 years agopod fixes
Wallace Reis [Sat, 22 Mar 2008 14:28:43 +0000]
pod fixes

16 years agoTests for error propogation of multi create errors
Ash Berlin [Wed, 19 Mar 2008 22:31:31 +0000]
Tests for error propogation of multi create errors

16 years agoFix test to reflect correct default state for deferrable constraints in SQL::T
Ash Berlin [Mon, 17 Mar 2008 21:56:47 +0000]
Fix test to reflect correct default state for deferrable constraints in SQL::T

16 years agoFix is_deferrable and respcet sqltargs properly
Ash Berlin [Mon, 17 Mar 2008 21:46:07 +0000]
Fix is_deferrable and respcet sqltargs properly

16 years agoSimplify and speed up the accessor_name_for() code.
Michael G Schwern [Sat, 15 Mar 2008 07:13:01 +0000]
Simplify and speed up the accessor_name_for() code.

16 years agoEliminate remaining uses of $self->dbh_do($self->can(...), ...) now that dbh_do can...
Dagfinn Ilmari Mannsåker [Sat, 15 Mar 2008 05:26:05 +0000]
Eliminate remaining uses of $self->dbh_do($self->can(...), ...) now that dbh_do can take a method name

16 years ago$dbh->doe doesn't take (Raise|Print)Error attributes, use eval {} instead.
Dagfinn Ilmari Mannsåker [Sat, 15 Mar 2008 05:20:13 +0000]
$dbh->doe doesn't take (Raise|Print)Error attributes, use eval {} instead.

16 years agoMissing requires of Test::NoWarnings
Michael G Schwern [Sat, 15 Mar 2008 05:08:34 +0000]
Missing requires of Test::NoWarnings

16 years agoReduce the number of times $self->_dbh is called inside dbh_do() to speed
Michael G Schwern [Sat, 15 Mar 2008 05:01:47 +0000]
Reduce the number of times $self->_dbh is called inside dbh_do() to speed
up that hot bit of code.

16 years agoForgot to require Test::Warn
Michael G Schwern [Sat, 15 Mar 2008 05:00:56 +0000]
Forgot to require Test::Warn

16 years agoEliminate expensive calls to can() in some very hot portions of the code by
Michael G Schwern [Sat, 15 Mar 2008 04:55:30 +0000]
Eliminate expensive calls to can() in some very hot portions of the code by
allowing dbh_do() to take a method name.

$obj->$method_name() is about 50% faster then $obj->can($method_name)->().

16 years agoAdd missing method to NoObjectIndex.
Michael G Schwern [Sat, 15 Mar 2008 03:01:57 +0000]
Add missing method to NoObjectIndex.

16 years agoA little performance hack to speed up efficiency. Internal checks that the
Michael G Schwern [Fri, 14 Mar 2008 22:50:04 +0000]
A little performance hack to speed up efficiency.  Internal checks that the
resultset is defined would make a SQL COUNT happen.

16 years agoBetter emulation of add_constructor, unfortunately also slower.
Michael G Schwern [Fri, 14 Mar 2008 03:27:47 +0000]
Better emulation of add_constructor, unfortunately also slower.

16 years agoReorder the accessor_name_for() check to get the more likely one first to
Michael G Schwern [Fri, 14 Mar 2008 03:17:12 +0000]
Reorder the accessor_name_for() check to get the more likely one first to
squeeze a little performance out maybe.

16 years agoImprove add_constructor() support to handle ORDER BY and LIMIT with newlines in
Michael G Schwern [Fri, 14 Mar 2008 03:16:36 +0000]
Improve add_constructor() support to handle ORDER BY and LIMIT with newlines in
the SQL

16 years agoMove has_a() code out of ColumnCase. That should be the last of it.
Michael G Schwern [Fri, 14 Mar 2008 02:01:20 +0000]
Move has_a() code out of ColumnCase.  That should be the last of it.

16 years agoMove code having to do with adding columns out of ColumnCase.
Michael G Schwern [Fri, 14 Mar 2008 01:50:05 +0000]
Move code having to do with adding columns out of ColumnCase.

16 years agoMove the code to create accessors out of ColumnCase and into ColumnGroups.
Michael G Schwern [Fri, 14 Mar 2008 01:41:32 +0000]
Move the code to create accessors out of ColumnCase and into ColumnGroups.
This allows one to remove ColumnCase without effecting other features.

16 years agoFix the skip condition.
Michael G Schwern [Fri, 14 Mar 2008 01:32:02 +0000]
Fix the skip condition.

16 years agoDetabify
Michael G Schwern [Thu, 13 Mar 2008 19:06:48 +0000]
Detabify

16 years agoMake this test depend on having DeepAbstractSearch installed.
Michael G Schwern [Thu, 13 Mar 2008 19:04:13 +0000]
Make this test depend on having DeepAbstractSearch installed.

16 years agoFix podcoverage test for the new SQLTransformer.pm
Michael G Schwern [Thu, 13 Mar 2008 19:03:40 +0000]
Fix podcoverage test for the new SQLTransformer.pm

16 years agoDocument that DeepAbstractSearch will work.
Michael G Schwern [Thu, 13 Mar 2008 18:54:22 +0000]
Document that DeepAbstractSearch will work.

16 years agoMake Class::DBI::Plugin::DeepAbstractSearch work.
Michael G Schwern [Thu, 13 Mar 2008 18:52:14 +0000]
Make Class::DBI::Plugin::DeepAbstractSearch work.

This required reordering the relationship declarations in the tests to fit
the limitations of CDBICompat.  Also fixing the behavior of sth_to_objects()
and transform_sql().

16 years agoTest lazy loading with a deleted object.
Michael G Schwern [Thu, 13 Mar 2008 18:50:32 +0000]
Test lazy loading with a deleted object.

16 years agoTest the behavior of construct() with temp columns.
Michael G Schwern [Thu, 13 Mar 2008 18:49:57 +0000]
Test the behavior of construct() with temp columns.

16 years agoFix lazy loading when the object has been deleted
Michael G Schwern [Wed, 12 Mar 2008 21:29:58 +0000]
Fix lazy loading when the object has been deleted

16 years agoMerge 'oracle_sequence' into 'trunk'
Matt S Trout [Tue, 11 Mar 2008 20:40:12 +0000]
Merge 'oracle_sequence' into 'trunk'

16 years agoMake throw_exception in RS a bit more forgiving too
Ash Berlin [Tue, 11 Mar 2008 15:10:50 +0000]
Make throw_exception in RS a bit more forgiving too

16 years agoFix errors from resultset components (and move tests into t/90ensure_class_loaded...
Ash Berlin [Tue, 11 Mar 2008 15:03:34 +0000]
Fix errors from resultset components (and move tests into t/90ensure_class_loaded since its testing same sort of things)

16 years agotest to make sure the errors in components of resultset classes are reported right.
Ash Berlin [Tue, 11 Mar 2008 14:38:10 +0000]
test to make sure the errors in components of resultset classes are reported right.