15 years agoMerge 'trunk' into 'sqla_1.50_compat'
Norbert Buchmuller [Sat, 20 Dec 2008 21:47:11 +0000]
Merge 'trunk' into 'sqla_1.50_compat'

r5340@vger:  mendel | 2008-12-20 22:01:53 +0100
 r5134@vger (orig r5117):  ribasushi | 2008-11-13 08:34:26 +0100
 result_class goodies by Caelum:
 - result_class can now be specified as a search attribute, attaching it to the returned resultset
 - the specified class is now autoloaded via ensure_loaded()

 r5136@vger (orig r5119):  ribasushi | 2008-11-13 19:34:29 +0100
 resultset attribute from can now take a scalarref and use it verbatim
 r5145@vger (orig r5128):  ribasushi | 2008-11-14 10:46:00 +0100
 Document the new from usage
 r5152@vger (orig r5134):  ribasushi | 2008-11-14 18:44:25 +0100
 we use register_extra_source() now
 r5162@vger (orig r5140):  castaway | 2008-11-15 22:08:30 +0100
 Added failing create-multi test

 r5163@vger (orig r5141):  ribasushi | 2008-11-16 10:53:07 +0100
 whops
 r5166@vger (orig r5142):  norbi | 2008-11-16 20:12:42 +0100
  r5165@vger:  mendel | 2008-11-16 20:11:42 +0100
   * Merged in changes from 'resultsetcolumn_custom_columns' branch,

 r5179@vger (orig r5149):  ribasushi | 2008-11-16 23:14:13 +0100
 Revert castaway's test - mildly bogus
 r5180@vger (orig r5150):  ribasushi | 2008-11-16 23:16:31 +0100
 Add new test relationship - a track can have a relates single_cd
 r5181@vger (orig r5151):  ribasushi | 2008-11-16 23:23:38 +0100
 might_have test for castaway to break
 r5182@vger (orig r5152):  ribasushi | 2008-11-17 01:33:51 +0100
 rip away a horribly wrong create_via_update test (will pass when multicreate is merged)
 r5183@vger (orig r5153):  ribasushi | 2008-11-17 02:00:28 +0100
 One more (passing) multicreate test and a bit of cleanup
 r5184@vger (orig r5154):  ribasushi | 2008-11-17 02:59:53 +0100
 Two more sets of might_have - has_many relationships for extra tests
 r5185@vger (orig r5155):  ribasushi | 2008-11-17 03:09:18 +0100
 Two failing multicreate tests (the root cause of castaway's problem)
 r5186@vger (orig r5156):  ribasushi | 2008-11-17 03:48:57 +0100
 Silence cdbi tests like everything else
 r5187@vger (orig r5157):  ribasushi | 2008-11-17 04:01:39 +0100
 Failing tests by zby, showing that recursing insert() gets in the way of some exotic insert scenarious - waiting for mst to decide course of action
 r5188@vger (orig r5158):  ribasushi | 2008-11-17 12:04:54 +0100
 Extend might_have test with ideas from zby
 r5192@vger (orig r5161):  ribasushi | 2008-11-20 11:25:32 +0100
 Trunk passes tests again - todoify everything multicreate related to branch it out, as the task turned out to be more complex (no indentation to aid future merging)
 r5195@vger (orig r5164):  ribasushi | 2008-11-20 12:01:14 +0100
 CDBI-compat tests by Dave Horwoth:

     OK. I've attached a patch to t/cdbi-t/15-accessor.t that does several
     things:

     (1) Fixes the way the arguments are built so the sheep argument is
     correct in the tests.

     (2) Adds explicit tests for the number of sheep so we can be sure which
     database record is actually returned.

     (3) Adds tests for find_or_create() with modified accessor names.

     (4) Fixes the test for search() to report all errors

     I still don't fully understand what's going on in the output below but I
     think they are genuine test failures. I'd appreciate it if somebody else
     could run the tests to make sure the results are not some artefact of my
     test environment. I also attached a copy of the modified test script so
     you don't even have to apply the patch first :)

     I don't know what the DestroyWarning at the end is all about.

 r5196@vger (orig r5165):  ribasushi | 2008-11-20 12:09:11 +0100
 Minor doc patch by Caelum
 r5199@vger (orig r5168):  castaway | 2008-11-20 14:49:39 +0100
 Fix pod errors so that some storage subclasses show up in cpan properly

 r5291@vger (orig r5222):  ash | 2008-12-03 18:23:00 +0100
 Make the many-to-many warning use warnings::register;
 r5317@vger (orig r5239):  jnapiorkowski | 2008-12-15 23:02:19 +0100
 changes to replication so that if a replicant is offline when we do the initial connection (or if we need to globally reconnect later) the connection does not die.  This is different from when a replicant is available just not listening, or if the replicant is too laggy.  Thanks David Steinbrunner for the patch suggestions.
 r5323@vger (orig r5245):  groditi | 2008-12-16 23:56:07 +0100
  r24740@martha (orig r5230):  groditi | 2008-12-09 20:28:10 -0500
  fix for bug. all tests seem to pass, we still need a new test and more research

 r5324@vger (orig r5246):  groditi | 2008-12-16 23:56:29 +0100
  r24754@martha (orig r5241):  groditi | 2008-12-16 16:27:06 -0500
  Introduce 'any_null_means_no_value' option to eliminate wasteful queries. The option is off by default and must be explicitly turned on. Tests, + docs included

 r5325@vger (orig r5247):  groditi | 2008-12-16 23:57:11 +0100
  r24756@martha (orig r5243):  groditi | 2008-12-16 17:42:10 -0500
  rename option to undef_on_null_fk and make it default for belongs_to

 r5326@vger (orig r5248):  groditi | 2008-12-16 23:57:34 +0100
  r24757@martha (orig r5244):  groditi | 2008-12-16 17:52:12 -0500
  minor typo and style change

 r5328@vger (orig r5250):  groditi | 2008-12-17 00:27:57 +0100
 somehow i messed up the merge. this fixes it
 r5329@vger (orig r5251):  ash | 2008-12-17 00:45:51 +0100
 Try to fix test on 5.10
 r5332@vger (orig r5254):  ribasushi | 2008-12-18 12:28:38 +0100
 Some cleanups to the m2m warnings test
 r5336@vger (orig r5258):  jnapiorkowski | 2008-12-19 20:52:44 +0100
 more noise debugging messages if debug is on, minor doc tweaks, changes so that the fake sqlite tests will work and laid the groundwork for replication without dbatabase native replication support.
 r5337@vger (orig r5259):  jnapiorkowski | 2008-12-19 21:48:35 +0100
 altered schema->populate so that it is a very thin wrapper on top of resultset->populate and changed resultset_populate so that is accepted both the arrayref of hashes and the arrayref of arrayref style of args.  Documented this, updated the tests a bit to make sure it is all good.
 r5338@vger (orig r5260):  ribasushi | 2008-12-19 22:09:17 +0100
 Todoify cdbi failing tests, waiting for schwern

15 years agoTodoify cdbi failing tests, waiting for schwern
Peter Rabbitson [Fri, 19 Dec 2008 21:09:17 +0000]
Todoify cdbi failing tests, waiting for schwern

15 years agoaltered schema->populate so that it is a very thin wrapper on top of resultset->popul...
John Napiorkowski [Fri, 19 Dec 2008 20:48:35 +0000]
altered schema->populate so that it is a very thin wrapper on top of resultset->populate and changed resultset_populate so that is accepted both the arrayref of hashes and the arrayref of arrayref style of args.  Documented this, updated the tests a bit to make sure it is all good.

15 years agomore noise debugging messages if debug is on, minor doc tweaks, changes so that the...
John Napiorkowski [Fri, 19 Dec 2008 19:52:44 +0000]
more noise debugging messages if debug is on, minor doc tweaks, changes so that the fake sqlite tests will work and laid the groundwork for replication without dbatabase native replication support.

15 years agoSome cleanups to the m2m warnings test
Peter Rabbitson [Thu, 18 Dec 2008 11:28:38 +0000]
Some cleanups to the m2m warnings test

15 years agoTry to fix test on 5.10
Ash Berlin [Tue, 16 Dec 2008 23:45:51 +0000]
Try to fix test on 5.10

15 years agosomehow i messed up the merge. this fixes it
Guillermo Roditi [Tue, 16 Dec 2008 23:27:57 +0000]
somehow i messed up the merge. this fixes it

15 years agoMerge 'belongs_to_null_col_fix' into 'trunk'
Guillermo Roditi [Tue, 16 Dec 2008 23:52:12 +0000]
Merge 'belongs_to_null_col_fix' into 'trunk'

15 years agoMerge 'belongs_to_null_col_fix' into 'trunk'
Guillermo Roditi [Wed, 10 Dec 2008 02:28:10 +0000]
Merge 'belongs_to_null_col_fix' into 'trunk'

r24740@martha (orig r5230):  groditi | 2008-12-09 20:28:10 -0500
fix for bug. all tests seem to pass, we still need a new test and more research

15 years agominor typo and style change
Guillermo Roditi [Tue, 16 Dec 2008 22:52:12 +0000]
minor typo and style change

15 years agorename option to undef_on_null_fk and make it default for belongs_to
Guillermo Roditi [Tue, 16 Dec 2008 22:42:10 +0000]
rename option to undef_on_null_fk and make it default for belongs_to

15 years agoIntroduce 'any_null_means_no_value' option to eliminate wasteful queries. The option...
Guillermo Roditi [Tue, 16 Dec 2008 21:27:06 +0000]
Introduce 'any_null_means_no_value' option to eliminate wasteful queries. The option is off by default and must be explicitly turned on. Tests, + docs included

15 years agoMerge 'trunk' into 'belongs_to_null_col_fix'
John Napiorkowski [Mon, 15 Dec 2008 23:02:19 +0000]
Merge 'trunk' into 'belongs_to_null_col_fix'

r24752@martha (orig r5239):  jnapiorkowski | 2008-12-15 17:02:19 -0500
changes to replication so that if a replicant is offline when we do the initial connection (or if we need to globally reconnect later) the connection does not die.  This is different from when a replicant is available just not listening, or if the replicant is too laggy.  Thanks David Steinbrunner for the patch suggestions.

15 years agochanges to replication so that if a replicant is offline when we do the initial conne...
John Napiorkowski [Mon, 15 Dec 2008 22:02:19 +0000]
changes to replication so that if a replicant is offline when we do the initial connection (or if we need to globally reconnect later) the connection does not die.  This is different from when a replicant is available just not listening, or if the replicant is too laggy.  Thanks David Steinbrunner for the patch suggestions.

15 years agofix for bug. all tests seem to pass, we still need a new test and more research
Guillermo Roditi [Wed, 10 Dec 2008 01:28:10 +0000]
fix for bug. all tests seem to pass, we still need a new test and more research

15 years agoMake the many-to-many warning use warnings::register;
Ash Berlin [Wed, 3 Dec 2008 17:23:00 +0000]
Make the many-to-many warning use warnings::register;

15 years ago * Replaced eq_bind() implementation to use Test::Deep::eq_deeply().
Norbert Buchmuller [Fri, 28 Nov 2008 15:43:36 +0000]
 * Replaced eq_bind() implementation to use Test::Deep::eq_deeply().

16 years ago * Replaced eq_bind() implementation with the current copy from SQL::Abstract::Test.
Norbert Buchmuller [Thu, 27 Nov 2008 06:04:40 +0000]
 * Replaced eq_bind() implementation with the current copy from SQL::Abstract::Test.

16 years ago * Removed extra parens from the ON expression of JOIN (SQLA::Test now handles it...
Norbert Buchmuller [Thu, 27 Nov 2008 04:07:01 +0000]
 * Removed extra parens from the ON expression of JOIN (SQLA::Test now handles it properly - in SQLA branch '1.50_RC-extraparens' branch). That means that all the tests pass with SQLA 1.24 and SQLA 1.50RC.

16 years ago * Fixed the order of args of skip().
Norbert Buchmuller [Tue, 25 Nov 2008 06:55:43 +0000]
 * Fixed the order of args of skip().

16 years ago * Undid bumping of SQL::Abstract version dependency.
Norbert Buchmuller [Tue, 25 Nov 2008 06:52:01 +0000]
 * Undid bumping of SQL::Abstract version dependency.

16 years ago * Renamed DBICTest::DBICDebugObj to DBIC::DebugObj.
Norbert Buchmuller [Tue, 25 Nov 2008 06:50:05 +0000]
 * Renamed DBICTest::DBICDebugObj to DBIC::DebugObj.

16 years ago * Fixed the number of tests skipped in a SKIP block.
Norbert Buchmuller [Tue, 25 Nov 2008 06:34:15 +0000]
 * Fixed the number of tests skipped in a SKIP block.

16 years ago * Wrapped SQL::Abstract::Test functionality in a new module (DBIC::SqlMakerTest).
Norbert Buchmuller [Tue, 25 Nov 2008 06:32:57 +0000]
 * Wrapped SQL::Abstract::Test functionality in a new module (DBIC::SqlMakerTest).
 * Made a test SKIP that does not work with SQL::Abstract < 1.49 (used to be a TODO test).

16 years ago * Documented using PostgreSQL arrays in Cookbook.
Norbert Buchmuller [Tue, 25 Nov 2008 04:58:38 +0000]
 * Documented using PostgreSQL arrays in Cookbook.

16 years ago * Fixed the test plan in 72pg.t.
Norbert Buchmuller [Tue, 25 Nov 2008 04:38:08 +0000]
 * Fixed the test plan in 72pg.t.
 * Fixed SQLA version check in SKIP tests (it's 1.49 in current 1.50RC branch).

16 years ago * Added a test for arrayref bind values in search to match PostgreSQL array type...
Norbert Buchmuller [Tue, 25 Nov 2008 04:34:29 +0000]
 * Added a test for arrayref bind values in search to match PostgreSQL array type values.

16 years ago * Made some more tests SKIP if SQLA version < 1.50.
Norbert Buchmuller [Tue, 25 Nov 2008 04:23:16 +0000]
 * Made some more tests SKIP if SQLA version < 1.50.

16 years ago * Disabled stringification of arrayref bind values (used to pass values for PostgreS...
Norbert Buchmuller [Tue, 25 Nov 2008 04:13:10 +0000]
 * Disabled stringification of arrayref bind values (used to pass values for PostgreSQL arrays).

16 years ago * Made PostgreSQL array tests SKIP if SQLA version < 1.50.
Norbert Buchmuller [Tue, 25 Nov 2008 04:03:47 +0000]
 * Made PostgreSQL array tests SKIP if SQLA version < 1.50.

16 years ago * Added tests for passing arrayrefs as bind values for PostgreSQL array values.
Norbert Buchmuller [Fri, 21 Nov 2008 23:34:29 +0000]
 * Added tests for passing arrayrefs as bind values for PostgreSQL array values.

16 years ago * Updated svn:ignore.
Norbert Buchmuller [Fri, 21 Nov 2008 23:28:58 +0000]
 * Updated svn:ignore.

16 years ago * Added a WHATSNEW.txt file that summarises the changes on this branch.
Norbert Buchmuller [Fri, 21 Nov 2008 23:27:42 +0000]
 * Added a WHATSNEW.txt file that summarises the changes on this branch.

16 years ago * Documented order_by => [ { -desc => 'col' } ] syntax.
Norbert Buchmuller [Fri, 21 Nov 2008 23:23:05 +0000]
 * Documented order_by => [ { -desc => 'col' } ] syntax.

16 years ago * Test cases for every supported order_by syntax.
Norbert Buchmuller [Fri, 21 Nov 2008 23:11:16 +0000]
 * Test cases for every supported order_by syntax.

16 years agoFix pod errors so that some storage subclasses show up in cpan properly
Jess Robinson [Thu, 20 Nov 2008 13:49:39 +0000]
Fix pod errors so that some storage subclasses show up in cpan properly

16 years agoMinor doc patch by Caelum
Peter Rabbitson [Thu, 20 Nov 2008 11:09:11 +0000]
Minor doc patch by Caelum

16 years agoCDBI-compat tests by Dave Horwoth:
Peter Rabbitson [Thu, 20 Nov 2008 11:01:14 +0000]
CDBI-compat tests by Dave Horwoth:

    OK. I've attached a patch to t/cdbi-t/15-accessor.t that does several
    things:

    (1) Fixes the way the arguments are built so the sheep argument is
    correct in the tests.

    (2) Adds explicit tests for the number of sheep so we can be sure which
    database record is actually returned.

    (3) Adds tests for find_or_create() with modified accessor names.

    (4) Fixes the test for search() to report all errors

    I still don't fully understand what's going on in the output below but I
    think they are genuine test failures. I'd appreciate it if somebody else
    could run the tests to make sure the results are not some artefact of my
    test environment. I also attached a copy of the modified test script so
    you don't even have to apply the patch first :)

    I don't know what the DestroyWarning at the end is all about.

16 years agoTrunk passes tests again - todoify everything multicreate related to branch it out...
Peter Rabbitson [Thu, 20 Nov 2008 10:25:32 +0000]
Trunk passes tests again - todoify everything multicreate related to branch it out, as the task turned out to be more complex (no indentation to aid future merging)

16 years agoExtend might_have test with ideas from zby
Peter Rabbitson [Mon, 17 Nov 2008 11:04:54 +0000]
Extend might_have test with ideas from zby

16 years agoFailing tests by zby, showing that recursing insert() gets in the way of some exotic...
Peter Rabbitson [Mon, 17 Nov 2008 03:01:39 +0000]
Failing tests by zby, showing that recursing insert() gets in the way of some exotic insert scenarious - waiting for mst to decide course of action

16 years agoSilence cdbi tests like everything else
Peter Rabbitson [Mon, 17 Nov 2008 02:48:57 +0000]
Silence cdbi tests like everything else

16 years agoTwo failing multicreate tests (the root cause of castaway's problem)
Peter Rabbitson [Mon, 17 Nov 2008 02:09:18 +0000]
Two failing multicreate tests (the root cause of castaway's problem)

16 years agoTwo more sets of might_have - has_many relationships for extra tests
Peter Rabbitson [Mon, 17 Nov 2008 01:59:53 +0000]
Two more sets of might_have - has_many relationships for extra tests

16 years agoOne more (passing) multicreate test and a bit of cleanup
Peter Rabbitson [Mon, 17 Nov 2008 01:00:28 +0000]
One more (passing) multicreate test and a bit of cleanup

16 years agorip away a horribly wrong create_via_update test (will pass when multicreate is merged)
Peter Rabbitson [Mon, 17 Nov 2008 00:33:51 +0000]
rip away a horribly wrong create_via_update test (will pass when multicreate is merged)

16 years agomight_have test for castaway to break
Peter Rabbitson [Sun, 16 Nov 2008 22:23:38 +0000]
might_have test for castaway to break

16 years agoAdd new test relationship - a track can have a relates single_cd
Peter Rabbitson [Sun, 16 Nov 2008 22:16:31 +0000]
Add new test relationship - a track can have a relates single_cd

16 years agoRevert castaway's test - mildly bogus
Peter Rabbitson [Sun, 16 Nov 2008 22:14:13 +0000]
Revert castaway's test - mildly bogus

16 years ago * Added test cases to test if arrayref bind values in insert/update are passed throu...
Norbert Buchmuller [Mon, 17 Nov 2008 04:29:33 +0000]
 * Added test cases to test if arrayref bind values in insert/update are passed through sql_maker intact.
 * Added 'array_datatypes' parameter to the sql_maker constructor.

16 years agoMerge 'resultsetcolumn_custom_columns' into 'trunk'
Norbert Buchmuller [Mon, 17 Nov 2008 02:11:42 +0000]
Merge 'resultsetcolumn_custom_columns' into 'trunk'

r5165@vger:  mendel | 2008-11-16 20:11:42 +0100
 * Merged in changes from 'resultsetcolumn_custom_columns' branch,

16 years agowhops
Peter Rabbitson [Sun, 16 Nov 2008 09:53:07 +0000]
whops

16 years agoAdded failing create-multi test
Jess Robinson [Sat, 15 Nov 2008 21:08:30 +0000]
Added failing create-multi test

16 years ago * Rewrote fetching the 'select' and 'as' values from the parent resultset to somethi...
Norbert Buchmuller [Sun, 16 Nov 2008 02:18:11 +0000]
 * Rewrote fetching the 'select' and 'as' values from the parent resultset to something that's easier to read for everyone.

16 years ago * Fixed a bug: did not create the underlying resultset if neither ->next or ->reset...
Norbert Buchmuller [Sat, 15 Nov 2008 03:48:51 +0000]
 * Fixed a bug: did not create the underlying resultset if neither ->next or ->reset is called before ->first was called.

16 years ago * Added ->first and ->reset implementation to ResultSetColumn.
Norbert Buchmuller [Sat, 15 Nov 2008 03:18:53 +0000]
 * Added ->first and ->reset implementation to ResultSetColumn.
 * A bit of refactoring/cleanup of ResultSetColumn.

16 years agowe use register_extra_source() now
Peter Rabbitson [Fri, 14 Nov 2008 17:44:25 +0000]
we use register_extra_source() now

16 years agoDocument the new from usage
Peter Rabbitson [Fri, 14 Nov 2008 09:46:00 +0000]
Document the new from usage

16 years agoresultset attribute from can now take a scalarref and use it verbatim
Peter Rabbitson [Thu, 13 Nov 2008 18:34:29 +0000]
resultset attribute from can now take a scalarref and use it verbatim

16 years agoresult_class goodies by Caelum:
Peter Rabbitson [Thu, 13 Nov 2008 07:34:26 +0000]
result_class goodies by Caelum:
- result_class can now be specified as a search attribute, attaching it to the returned resultset
- the specified class is now autoloaded via ensure_loaded()

16 years ago * Bumped SQL::Abstract version dependency.
Norbert Buchmuller [Thu, 13 Nov 2008 06:22:53 +0000]
 * Bumped SQL::Abstract version dependency.

16 years ago * Made DBIC::SQL::Abstract pass on order_by hashref ({-desc => 'colname'}) to SQL...
Norbert Buchmuller [Thu, 13 Nov 2008 06:13:07 +0000]
 * Made DBIC::SQL::Abstract pass on order_by hashref ({-desc => 'colname'}) to SQL::Abstract.

16 years agoMerge 'trunk' into 'sqla_1.50_compat'
Matt S Trout [Wed, 12 Nov 2008 16:43:54 +0000]
Merge 'trunk' into 'sqla_1.50_compat'

r25478@agaton (orig r5092):  ribasushi | 2008-11-10 22:46:45 +0000
Switch out one more reliance on connect_info
r25483@agaton (orig r5097):  ribasushi | 2008-11-10 23:09:23 +0000
belongs_to relationships are explicitly flagged by default, to aid the DBIC SQLT parser (by abraxxa)
r25484@agaton (orig r5098):  ribasushi | 2008-11-10 23:18:01 +0000
Clarify attributes argument of find()
r25499@agaton (orig r5113):  plu | 2008-11-12 16:42:44 +0000
fixed 73oracle.t, added charfield

16 years agofixed 73oracle.t, added charfield
Johannes Plunien [Wed, 12 Nov 2008 16:42:44 +0000]
fixed 73oracle.t, added charfield

16 years ago * Fixed test cases of ResultSetColumn vs. +select/+as (they used to unconditionally...
Norbert Buchmuller [Tue, 11 Nov 2008 08:29:09 +0000]
 * Fixed test cases of ResultSetColumn vs. +select/+as (they used to unconditionally pass).
 * Added a test case of ResultSetColumn for a non-existent column (note: a valid SQL fragment still can be passed instead of a column).
 * Added a test case of ResultSetColumn that tests overriding a column using select/as.
 * ResultSetColumn now respects select/as/+select/+as.
 * Added missing throw_exception() to ResultSetColumn.

16 years agoClarify attributes argument of find()
Peter Rabbitson [Mon, 10 Nov 2008 23:18:01 +0000]
Clarify attributes argument of find()

16 years agobelongs_to relationships are explicitly flagged by default, to aid the DBIC SQLT...
Peter Rabbitson [Mon, 10 Nov 2008 23:09:23 +0000]
belongs_to relationships are explicitly flagged by default, to aid the DBIC SQLT parser (by abraxxa)

16 years ago * Removed dead code (sub _RowNumberOver).
Norbert Buchmuller [Tue, 11 Nov 2008 06:00:44 +0000]
 * Removed dead code (sub _RowNumberOver).

16 years ago * Removed a wrong TODO test: "order_by with quoting needs fixing (ash/castaway)...
Norbert Buchmuller [Tue, 11 Nov 2008 06:00:18 +0000]
 * Removed a wrong TODO test: "order_by with quoting needs fixing (ash/castaway)" (asked by mst).
 * Made a TODO test non-TODO: "select attr with star needs fixing (mst/nate)" (works with SQLA 1.50).

16 years ago * Converted some of the test cases to use SQL::Abstract::Test.
Norbert Buchmuller [Tue, 11 Nov 2008 05:59:32 +0000]
 * Converted some of the test cases to use SQL::Abstract::Test.
 * Added the parens for the join condition (SQL::Abstract::Test can't cope with it, and, besides, they help readability there; plus this gives the same output that older SQLA generated).

16 years agoSwitch out one more reliance on connect_info
Peter Rabbitson [Mon, 10 Nov 2008 22:46:45 +0000]
Switch out one more reliance on connect_info

16 years agochanged the way we get the DSN for debugging in replication
John Napiorkowski [Mon, 10 Nov 2008 16:12:28 +0000]
changed the way we get the DSN for debugging in replication

16 years agoSwitch schema management version calls from VERSION() to schema_version()
Peter Rabbitson [Sun, 9 Nov 2008 20:19:39 +0000]
Switch schema management version calls from VERSION() to schema_version()

16 years agoDon't rely on connect_info(), instead fetch the dsn from _dbi_connect_info (which...
Peter Rabbitson [Sun, 9 Nov 2008 16:02:05 +0000]
Don't rely on connect_info(), instead fetch the dsn from _dbi_connect_info (which is stable no matter which connect_info() flavor is used)
todo: ping jnpiorkowski about Replicated::Pool and Replicated::Replicant - it blindly assumes that connect_info->[0] contains the dsn, which might not be the case. Even when using _dbi_connect_info, the first element might be a coderef

16 years agoFix detection of multiple rows being returned for single(): calling fetchrow_array...
Peter Rabbitson [Sun, 9 Nov 2008 15:35:30 +0000]
Fix detection of multiple rows being returned for single(): calling fetchrow_array in scalar context leads to indefined results (search.cpan.org/~timb/DBI/DBI.pm#fetchrow_array)

16 years agoSome testdb changes and alignment, preparing for test refactor branch
Peter Rabbitson [Sun, 9 Nov 2008 15:29:34 +0000]
Some testdb changes and alignment, preparing for test refactor branch

16 years agoSQLT behaves sanely in scalar context, no need for stupid version detections (ribasus...
Peter Rabbitson [Sun, 9 Nov 2008 15:27:40 +0000]
SQLT behaves sanely in scalar context, no need for stupid version detections (ribasushi--)

16 years agoMore TODO items
Peter Rabbitson [Sun, 9 Nov 2008 13:35:57 +0000]
More TODO items

16 years agoOne extra multicreate test and some cleanup
Peter Rabbitson [Fri, 7 Nov 2008 09:42:48 +0000]
One extra multicreate test and some cleanup

16 years agoFix loss of objects on multicreate over several 1:M relations
Peter Rabbitson [Fri, 7 Nov 2008 07:30:49 +0000]
Fix loss of objects on multicreate over several 1:M relations

16 years agoFinal insanification of the multicreate test
Peter Rabbitson [Fri, 7 Nov 2008 07:29:21 +0000]
Final insanification of the multicreate test

16 years agounhide SQL::Translator::Parser::DBIx::Class from pause indexer
Steffen Schwigon [Thu, 6 Nov 2008 21:59:42 +0000]
unhide SQL::Translator::Parser::DBIx::Class from pause indexer

16 years agopod documentation for SQL::Translator::Parser::DBIx::Class
Steffen Schwigon [Thu, 6 Nov 2008 20:23:22 +0000]
pod documentation for SQL::Translator::Parser::DBIx::Class

16 years agoA little indentation clean up
Michael G Schwern [Thu, 6 Nov 2008 12:44:36 +0000]
A little indentation clean up

Test the result of an eval directly.

discard the changes to $sandl to quiet an "object destroyed with changes"
warning.

16 years agomk_group_accessor() is sometimes called internally when inflating a column
Michael G Schwern [Thu, 6 Nov 2008 12:44:27 +0000]
mk_group_accessor() is sometimes called internally when inflating a column
and with an array ref field spec, but the accessor and column names are
the same.  Special case that to go through the usual accessor_name_for stuff.

16 years ago[rt.cpan.org 36863]
Michael G Schwern [Tue, 4 Nov 2008 18:26:41 +0000]
[rt.cpan.org 36863]
Fix mk_group_accessors() to handle [$field, $name].  It ignores
accessor/mutator_name_for() because if you pass in your own accessor
name you probably mean it.

16 years agoNormalize indentation
Michael G Schwern [Tue, 4 Nov 2008 18:26:29 +0000]
Normalize indentation

16 years agoAnd now really untabify
Michael G Schwern [Tue, 4 Nov 2008 18:26:19 +0000]
And now really untabify

16 years agonormalize the indentation and detabify
Michael G Schwern [Tue, 4 Nov 2008 18:26:09 +0000]
normalize the indentation and detabify

16 years agofixed 73oracle.t
Johannes Plunien [Tue, 4 Nov 2008 16:22:51 +0000]
fixed 73oracle.t

16 years agoTest prompted by discussion about tasty stuff
Peter Rabbitson [Sun, 2 Nov 2008 16:55:31 +0000]
Test prompted by discussion about tasty stuff

16 years agoBetter linking in Relatiomship POD
Peter Rabbitson [Sun, 2 Nov 2008 16:54:46 +0000]
Better linking in Relatiomship POD

16 years agoMore svn:ignore
Peter Rabbitson [Sun, 2 Nov 2008 13:32:26 +0000]
More svn:ignore

16 years agoClarify Relationship POD
Peter Rabbitson [Sun, 2 Nov 2008 13:30:49 +0000]
Clarify Relationship POD

16 years agorefactor of t/96multi_create.t:
Peter Rabbitson [Sun, 2 Nov 2008 12:28:02 +0000]
refactor of t/96multi_create.t:
- simplify test case submitted by wreis
- incorporate it into the large multicreate at the end
- eval{} independent sections of the test so more output can be gathered

16 years agoAugment commit r5037 - the column_info feature on SQLite is not buggy but partially...
Peter Rabbitson [Sat, 1 Nov 2008 20:58:07 +0000]
Augment commit r5037 - the column_info feature on SQLite is not buggy but partially unimplemented

16 years agorolling back my last change, waiting until new sqlt is on cpan
Johannes Plunien [Sun, 2 Nov 2008 01:59:49 +0000]
rolling back my last change, waiting until new sqlt is on cpan

16 years agofixed next warnings
Johannes Plunien [Sun, 2 Nov 2008 01:37:21 +0000]
fixed next warnings

16 years agoupdated Changes
Johannes Plunien [Sun, 2 Nov 2008 01:22:09 +0000]
updated Changes

16 years agosplit sql statements for deploy only if SQLT::Producer returned a scalar
Johannes Plunien [Sun, 2 Nov 2008 01:19:09 +0000]
split sql statements for deploy only if SQLT::Producer returned a scalar