Peter Rabbitson [Wed, 21 Jan 2009 13:56:49 +0000]
leftover debug
Peter Rabbitson [Wed, 21 Jan 2009 13:51:21 +0000]
First stab at properly documenting the new sqlt_hook for resultsources
Peter Rabbitson [Tue, 20 Jan 2009 23:39:24 +0000]
remove_columns() sanitization by Oleg Pronin
Yuval Kogman [Tue, 20 Jan 2009 23:10:22 +0000]
Add sqlt_deploy_hook to Result Source
Peter Rabbitson [Tue, 20 Jan 2009 18:06:01 +0000]
Change my email
Peter Rabbitson [Tue, 20 Jan 2009 17:39:54 +0000]
Disable 103many_to_many_warning.t for perl 5.10 - warnings::register is broken on it
Norbert Buchmuller [Mon, 19 Jan 2009 04:19:31 +0000]
* Added documentation of "Arbitrary SQL through a custom ResultSource" alternate method (ie. subclassing the resultset class and setting the custom resultsource on it) to the Cookbook.
Norbert Buchmuller [Sun, 18 Jan 2009 20:28:20 +0000]
Merge 'sqla_1.50_compat' into 'trunk'
r5416@vger: mendel | 2009-01-18 21:22:05 +0100
* Merged in changes from the 'sqla_1.50_compat' branch:
* Converted test cases to use SQL::Abstract::Test if available.
* created DBIC::SqlMakerTest and DBIC::DebugObj helper modules
* that way the number of extra parens does not matter
* test cases still pass with SQLA 1.24, but also with 1.50RC
* those tests that make no sense with older SQLA are skipped
* Added dependency for Test::Deep (used when emulating SQL::Abstract::Test::eq_bind when SQLA is older than 1.50)
* Removed a wrong TODO test: 95sql_maker_quote.t/"order_by with quoting needs fixing (ash/castaway)"
* it never passed and never will (SQLA should not parse the strings in order_by)
* asked by mst
* Made a TODO test non-TODO: 95sql_maker_quote.t/"select attr with star needs fixing (mst/nate)"
* this works with SQLA 1.50
* Removed dead code from DBI::Class::Storage::DBI (sub _RowNumberOver).
* neither DBIC, nor SQLA, nor SQLA::Limit uses this (in any version supported by DBIC)
* Added test cases for every supported order_by syntax.
* Made DBIC::SQL::Abstract pass on order_by hashref ({-desc => 'colname'}) to SQL::Abstract.
* this is the blessed way of doing order by
* new SQLA supports it
* formerly DBIC considered this as an error
* Documented using order_by hashref in DBIx::Class::ResultSet.
* Added test cases to test if arrayref bind values in insert/update are passed through sql_maker intact.
* Added test cases to test if arrayref bind values work with a PostgreSQL array type.
* Added 'array_datatypes' parameter to the sql_maker constructor.
* formerly SQLA considered these as literal SQL with bind values, now that is \['literal SQL', @bind]
* the new syntax is consistent (works the same in insert/update and where conditions)
* fortunately 'array_datatypes' was simply ignored by old SQLA (at least with current version..)
* DBD::Pg can use arrayref bind values for PostgreSQL array types
* Documented using PostgreSQL arrays (in Cookbook).
* Fixed/improved a few skip and diag messages.
r5092@vger (orig r5091): norbi | 2008-11-10 21:28:36 +0100
* Created branch for changes required to make DBIC work with SQL::Abstract 1.50.
r5101@vger (orig r5094): norbi | 2008-11-11 00:04:34 +0100
r5094@vger: mendel | 2008-11-10 23:59:32 +0100
* 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).
r5102@vger (orig r5095): norbi | 2008-11-11 00:04:38 +0100
r5095@vger: mendel | 2008-11-11 00:00:18 +0100
* 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).
r5103@vger (orig r5096): norbi | 2008-11-11 00:04:43 +0100
r5096@vger: mendel | 2008-11-11 00:00:44 +0100
* Removed dead code (sub _RowNumberOver).
r5128@vger (orig r5114): matthewt | 2008-11-12 17:43:54 +0100
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
r5131@vger (orig r5115): norbi | 2008-11-13 00:18:05 +0100
r5130@vger: mendel | 2008-11-13 00:13:07 +0100
* Made DBIC::SQL::Abstract pass on order_by hashref ({-desc => 'colname'}) to SQL::Abstract.
r5133@vger (orig r5116): norbi | 2008-11-13 00:23:03 +0100
r5132@vger: mendel | 2008-11-13 00:22:53 +0100
* Bumped SQL::Abstract version dependency.
r5178@vger (orig r5148): norbi | 2008-11-16 22:29:42 +0100
r5177@vger: mendel | 2008-11-16 22:29:33 +0100
* 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.
r5209@vger (orig r5172): norbi | 2008-11-21 17:34:41 +0100
r5204@vger: mendel | 2008-11-21 17:11:16 +0100
* Test cases for every supported order_by syntax.
r5210@vger (orig r5173): norbi | 2008-11-21 17:34:51 +0100
r5205@vger: mendel | 2008-11-21 17:23:05 +0100
* Documented order_by => [ { -desc => 'col' } ] syntax.
r5211@vger (orig r5174): norbi | 2008-11-21 17:34:57 +0100
r5206@vger: mendel | 2008-11-21 17:27:42 +0100
* Added a WHATSNEW.txt file that summarises the changes on this branch.
r5212@vger (orig r5175): norbi | 2008-11-21 17:35:06 +0100
r5207@vger: mendel | 2008-11-21 17:28:58 +0100
* Updated svn:ignore.
r5213@vger (orig r5176): norbi | 2008-11-21 17:35:13 +0100
r5208@vger: mendel | 2008-11-21 17:34:29 +0100
* Added tests for passing arrayrefs as bind values for PostgreSQL array values.
r5243@vger (orig r5191): norbi | 2008-11-25 02:10:43 +0100
r5227@vger: mendel | 2008-11-24 22:03:47 +0100
* Made PostgreSQL array tests SKIP if SQLA version < 1.50.
r5244@vger (orig r5192): norbi | 2008-11-25 02:10:49 +0100
r5228@vger: mendel | 2008-11-24 22:13:10 +0100
* Disabled stringification of arrayref bind values (used to pass values for PostgreSQL arrays).
r5245@vger (orig r5193): norbi | 2008-11-25 02:10:54 +0100
r5229@vger: mendel | 2008-11-24 22:23:16 +0100
* Made some more tests SKIP if SQLA version < 1.50.
r5246@vger (orig r5194): norbi | 2008-11-25 02:10:59 +0100
r5230@vger: mendel | 2008-11-24 22:34:29 +0100
* Added a test for arrayref bind values in search to match PostgreSQL array type values.
r5247@vger (orig r5195): norbi | 2008-11-25 02:11:07 +0100
r5231@vger: mendel | 2008-11-24 22:38:08 +0100
* Fixed the test plan in 72pg.t.
* Fixed SQLA version check in SKIP tests (it's 1.49 in current 1.50RC branch).
r5248@vger (orig r5196): norbi | 2008-11-25 02:11:13 +0100
r5232@vger: mendel | 2008-11-24 22:58:38 +0100
* Documented using PostgreSQL arrays in Cookbook.
r5249@vger (orig r5197): norbi | 2008-11-25 02:11:22 +0100
r5235@vger: mendel | 2008-11-25 00:32:57 +0100
* 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).
r5250@vger (orig r5198): norbi | 2008-11-25 02:11:29 +0100
r5236@vger: mendel | 2008-11-25 00:34:15 +0100
* Fixed the number of tests skipped in a SKIP block.
r5251@vger (orig r5199): norbi | 2008-11-25 02:11:36 +0100
r5237@vger: mendel | 2008-11-25 00:50:05 +0100
* Renamed DBICTest::DBICDebugObj to DBIC::DebugObj.
r5252@vger (orig r5200): norbi | 2008-11-25 02:11:41 +0100
r5238@vger: mendel | 2008-11-25 00:52:01 +0100
* Undid bumping of SQL::Abstract version dependency.
r5253@vger (orig r5201): norbi | 2008-11-25 02:11:46 +0100
r5239@vger: mendel | 2008-11-25 00:55:43 +0100
* Fixed the order of args of skip().
r5268@vger (orig r5209): norbi | 2008-11-26 22:09:07 +0100
r5267@vger: mendel | 2008-11-26 22:07:01 +0100
* 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.
r5282@vger (orig r5216): norbi | 2008-11-27 00:04:52 +0100
r5281@vger: mendel | 2008-11-27 00:04:40 +0100
* Replaced eq_bind() implementation with the current copy from SQL::Abstract::Test.
r5288@vger (orig r5219): norbi | 2008-11-28 09:43:48 +0100
r5287@vger: mendel | 2008-11-28 09:43:36 +0100
* Replaced eq_bind() implementation to use Test::Deep::eq_deeply().
r5343@vger (orig r5262): norbi | 2008-12-20 22:47:16 +0100
r5341@vger: mendel | 2008-12-20 22:33:26 +0100
* Updated WHATSNEW.txt.
r5345@vger (orig r5263): norbi | 2008-12-20 23:13:55 +0100
r5344@vger: mendel | 2008-12-20 23:13:22 +0100
* Removed hiding of packages under t/.
r5347@vger (orig r5264): norbi | 2008-12-20 23:43:41 +0100
r5346@vger: mendel | 2008-12-20 23:43:37 +0100
* Removed hiding of packages under t/.
r5349@vger (orig r5265): norbi | 2008-12-20 23:44:47 +0100
r5348@vger: mendel | 2008-12-20 23:44:42 +0100
* Removed an outdated comment.
r5352@vger (orig r5267): ribasushi | 2008-12-21 09:26:19 +0100
Fix ordering of 'use lib' and 'use' in tests
r5353@vger (orig r5268): ribasushi | 2008-12-21 09:45:25 +0100
whops
r5356@vger (orig r5271): ribasushi | 2008-12-21 12:25:37 +0100
Remove some cruft
r5415@vger (orig r5321): norbi | 2009-01-18 21:15:24 +0100
r5414@vger: mendel | 2009-01-18 21:15:15 +0100
* Removed temporary notes file (WHATSNEW.txt).
Norbert Buchmuller [Mon, 19 Jan 2009 03:15:15 +0000]
* Removed temporary notes file (WHATSNEW.txt).
Norbert Buchmuller [Sun, 18 Jan 2009 19:40:54 +0000]
Merge 'trunk' into 'sqla_1.50_compat'
r5410@vger: mendel | 2009-01-18 20:40:15 +0100
r5392@vger (orig r5301): norbi | 2009-01-12 11:55:54 +0100
r5391@vger: mendel | 2009-01-12 11:55:48 +0100
* Reworded $rs->current_source_alias POD (thanks to castaway).
r5398@vger (orig r5307): caelum | 2009-01-14 02:25:28 +0100
auto_savepoint support for Oracle and a note on txn_do for with "AutoCommit => 0"
r5404@vger (orig r5313): ribasushi | 2009-01-16 11:29:16 +0100
Proper MSSQL last_insert_id() scoping patch by abraxxa
No tests as it is very hard to simulate the problematic behavior - it would only manifest if:
1) An INSERT statement is issued from connection A
2) An INSERT statement is issued from connection B
3) last_insert_id is called from connection A
Without this patch the last id from the second INSERT will be returned in step 3
Tested with both DBICTEST_MSSQL_ODBC_DSN and DBICTEST_MSSQL_DSN against a MSSQL 2005
r5405@vger (orig r5314): plu | 2009-01-16 19:25:57 +0100
Fixed typo in link
r5406@vger (orig r5315): ribasushi | 2009-01-17 19:39:50 +0100
Stop 99dbic_sqlt_parser.t from breaking every time a new table is added
r5407@vger (orig r5316): ribasushi | 2009-01-17 19:47:53 +0100
Fix borked t/bindtype_columns.t - TODO: still only tests PG, need to test Oracle as well
Norbert Buchmuller [Sun, 18 Jan 2009 19:40:39 +0000]
Merge 'trunk' into 'sqla_1.50_compat'
r5390@vger: mendel | 2009-01-12 11:30:01 +0100
r5351@vger (orig r5266): norbi | 2008-12-21 01:39:44 +0100
r5350@vger: mendel | 2008-12-21 01:39:37 +0100
* Added myself to the contributors list.
r5354@vger (orig r5269): ribasushi | 2008-12-21 12:24:39 +0100
delete() POD patch from Michael Hendricks (slightly reworded)
r5365@vger (orig r5278): nothingmuch | 2008-12-22 17:43:50 +0100
map blob to PG_BYTEA on DBD::Pg
r5366@vger (orig r5279): matthewt | 2008-12-24 18:26:35 +0100
make clear that search_like is only really there for Class::DBI users
r5367@vger (orig r5280): castaway | 2008-12-29 22:51:54 +0100
Added standard arguments/return value to all docced methods.
Upadted some method docs.
r5368@vger (orig r5281): castaway | 2008-12-29 23:17:37 +0100
Re-ordered method docs to be in a more user-needs-it order.
Fixed some obj/table mentions in docs to be consistently $source.
r5369@vger (orig r5282): castaway | 2008-12-30 11:58:19 +0100
Add definitions of relationship and relationship bridge, link to them from the rel docs
r5377@vger (orig r5290): rjbs | 2009-01-08 21:49:29 +0100
failing test for callback on_connect_do getting storage obejct
r5378@vger (orig r5291): rjbs | 2009-01-08 21:50:57 +0100
fix the just-added test; pass the Storage object to pure-code on_connect callbacks
r5379@vger (orig r5292): rjbs | 2009-01-08 21:51:39 +0100
credit where credit is due; namely: ME!
r5381@vger (orig r5294): wreis | 2009-01-08 23:45:35 +0100
failing test for load_namespace
r5382@vger (orig r5295): wreis | 2009-01-08 23:57:47 +0100
->result_source_instance->source_name should return undef for any class
r5383@vger (orig r5296): wreis | 2009-01-09 00:11:50 +0100
reverting changes for versioning tests
r5384@vger (orig r5297): rjbs | 2009-01-09 02:55:53 +0100
by setting conn_?id first, we prevent $storage->dbh from recursing through on_connect_do actions
r5385@vger (orig r5298): matthewt | 2009-01-09 04:28:44 +0100
fixup source registration bugs where schema-specific things were being set on class' result_source_instance objects
r5386@vger (orig r5299): wreis | 2009-01-09 13:14:49 +0100
not necessary
r5389@vger (orig r5300): norbi | 2009-01-12 11:18:47 +0100
r5388@vger: mendel | 2009-01-12 11:18:22 +0100
* Implemented $rs->current_source_alias.
Peter Rabbitson [Sat, 17 Jan 2009 18:47:53 +0000]
Fix borked t/bindtype_columns.t - TODO: still only tests PG, need to test Oracle as well
Peter Rabbitson [Sat, 17 Jan 2009 18:39:50 +0000]
Stop 99dbic_sqlt_parser.t from breaking every time a new table is added
Johannes Plunien [Fri, 16 Jan 2009 18:25:57 +0000]
Fixed typo in link
Peter Rabbitson [Fri, 16 Jan 2009 10:29:16 +0000]
Proper MSSQL last_insert_id() scoping patch by abraxxa
No tests as it is very hard to simulate the problematic behavior - it would only manifest if:
1) An INSERT statement is issued from connection A
2) An INSERT statement is issued from connection B
3) last_insert_id is called from connection A
Without this patch the last id from the second INSERT will be returned in step 3
Tested with both DBICTEST_MSSQL_ODBC_DSN and DBICTEST_MSSQL_DSN against a MSSQL 2005
Rafael Kitover [Wed, 14 Jan 2009 01:25:28 +0000]
auto_savepoint support for Oracle and a note on txn_do for with "AutoCommit => 0"
Norbert Buchmuller [Mon, 12 Jan 2009 17:55:48 +0000]
* Reworded $rs->current_source_alias POD (thanks to castaway).
Norbert Buchmuller [Mon, 12 Jan 2009 17:18:22 +0000]
* Implemented $rs->current_source_alias.
Wallace Reis [Fri, 9 Jan 2009 12:14:49 +0000]
not necessary
Matt S Trout [Fri, 9 Jan 2009 03:28:44 +0000]
fixup source registration bugs where schema-specific things were being set on class' result_source_instance objects
Ricardo Signes [Fri, 9 Jan 2009 01:55:53 +0000]
by setting conn_?id first, we prevent $storage->dbh from recursing through on_connect_do actions
Wallace Reis [Thu, 8 Jan 2009 23:11:50 +0000]
reverting changes for versioning tests
Wallace Reis [Thu, 8 Jan 2009 22:57:47 +0000]
>result_source_instance->source_name should return undef for any class
Wallace Reis [Thu, 8 Jan 2009 22:45:35 +0000]
failing test for load_namespace
Ricardo Signes [Thu, 8 Jan 2009 20:51:39 +0000]
credit where credit is due; namely: ME!
Ricardo Signes [Thu, 8 Jan 2009 20:50:57 +0000]
fix the just-added test; pass the Storage object to pure-code on_connect callbacks
Ricardo Signes [Thu, 8 Jan 2009 20:49:29 +0000]
failing test for callback on_connect_do getting storage obejct
Jess Robinson [Tue, 30 Dec 2008 10:58:19 +0000]
Add definitions of relationship and relationship bridge, link to them from the rel docs
Jess Robinson [Mon, 29 Dec 2008 22:17:37 +0000]
Re-ordered method docs to be in a more user-needs-it order.
Fixed some obj/table mentions in docs to be consistently $source.
Jess Robinson [Mon, 29 Dec 2008 21:51:54 +0000]
Added standard arguments/return value to all docced methods.
Upadted some method docs.
Matt S Trout [Wed, 24 Dec 2008 17:26:35 +0000]
make clear that search_like is only really there for Class::DBI users
Yuval Kogman [Mon, 22 Dec 2008 16:43:50 +0000]
map blob to PG_BYTEA on DBD::Pg
Peter Rabbitson [Sun, 21 Dec 2008 11:25:37 +0000]
Remove some cruft
Peter Rabbitson [Sun, 21 Dec 2008 11:25:10 +0000]
forgotten text
Peter Rabbitson [Sun, 21 Dec 2008 11:24:39 +0000]
delete() POD patch from Michael Hendricks (slightly reworded)
Peter Rabbitson [Sun, 21 Dec 2008 08:45:25 +0000]
whops
Peter Rabbitson [Sun, 21 Dec 2008 08:26:19 +0000]
Fix ordering of 'use lib' and 'use' in tests
Norbert Buchmuller [Sun, 21 Dec 2008 07:39:37 +0000]
* Added myself to the contributors list.
Norbert Buchmuller [Sun, 21 Dec 2008 05:44:42 +0000]
* Removed an outdated comment.
Norbert Buchmuller [Sun, 21 Dec 2008 05:43:37 +0000]
* Removed hiding of packages under t/.
Norbert Buchmuller [Sun, 21 Dec 2008 05:13:22 +0000]
* Removed hiding of packages under t/.
Norbert Buchmuller [Sun, 21 Dec 2008 04:33:26 +0000]
* Updated WHATSNEW.txt.
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
Peter Rabbitson [Fri, 19 Dec 2008 21:09:17 +0000]
Todoify cdbi failing tests, waiting for schwern
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.
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.
Peter Rabbitson [Thu, 18 Dec 2008 11:28:38 +0000]
Some cleanups to the m2m warnings test
Jason M. Mills [Wed, 17 Dec 2008 06:13:07 +0000]
A simple fix to the warning generated by a sub-classed proxy - Please verify.
Ash Berlin [Tue, 16 Dec 2008 23:45:51 +0000]
Try to fix test on 5.10
Guillermo Roditi [Tue, 16 Dec 2008 23:27:57 +0000]
somehow i messed up the merge. this fixes it
Guillermo Roditi [Tue, 16 Dec 2008 23:52:12 +0000]
Merge '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
Guillermo Roditi [Tue, 16 Dec 2008 22:52:12 +0000]
minor typo and style change
Guillermo Roditi [Tue, 16 Dec 2008 22:42:10 +0000]
rename option to undef_on_null_fk and make it default for belongs_to
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
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.
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.
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
Ash Berlin [Wed, 3 Dec 2008 17:23:00 +0000]
Make the many-to-many warning use warnings::register;
Norbert Buchmuller [Fri, 28 Nov 2008 15:43:36 +0000]
* Replaced eq_bind() implementation to use Test::Deep::eq_deeply().
Norbert Buchmuller [Thu, 27 Nov 2008 06:04:40 +0000]
* Replaced eq_bind() implementation with the current copy from SQL::Abstract::Test.
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.
Norbert Buchmuller [Tue, 25 Nov 2008 06:55:43 +0000]
* Fixed the order of args of skip().
Norbert Buchmuller [Tue, 25 Nov 2008 06:52:01 +0000]
* Undid bumping of SQL::Abstract version dependency.
Norbert Buchmuller [Tue, 25 Nov 2008 06:50:05 +0000]
* Renamed DBICTest::DBICDebugObj to DBIC::DebugObj.
Norbert Buchmuller [Tue, 25 Nov 2008 06:34:15 +0000]
* Fixed the number of tests skipped in a SKIP block.
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).
Norbert Buchmuller [Tue, 25 Nov 2008 04:58:38 +0000]
* Documented using PostgreSQL arrays in Cookbook.
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).
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.
Norbert Buchmuller [Tue, 25 Nov 2008 04:23:16 +0000]
* Made some more tests SKIP if SQLA version < 1.50.
Norbert Buchmuller [Tue, 25 Nov 2008 04:13:10 +0000]
* Disabled stringification of arrayref bind values (used to pass values for PostgreSQL arrays).
Norbert Buchmuller [Tue, 25 Nov 2008 04:03:47 +0000]
* Made PostgreSQL array tests SKIP if SQLA version < 1.50.
Peter Rabbitson [Sun, 23 Nov 2008 14:45:01 +0000]
Add a new testfile to check deferred multicreate
Peter Rabbitson [Sun, 23 Nov 2008 14:44:00 +0000]
Add progress diags - just comment them out when merging to trunk
Peter Rabbitson [Sun, 23 Nov 2008 12:51:20 +0000]
The final (for now) part of the saga - castaway's real failing test
Peter Rabbitson [Sun, 23 Nov 2008 12:50:46 +0000]
Yet another test relationship/table for the real test by castaway
Peter Rabbitson [Sun, 23 Nov 2008 11:13:24 +0000]
duh
Peter Rabbitson [Sun, 23 Nov 2008 08:17:46 +0000]
todoify tests about to be broken
Peter Rabbitson [Sun, 23 Nov 2008 07:40:46 +0000]
Yet another test really illustrating castaway's problem
Jess Robinson [Sat, 22 Nov 2008 22:36:58 +0000]
Crazy ass multi create fixes..
1. pass back temp objects when checking pks for rels
2. sanitise (!?) pk_depends_on
3. set in_storage(1) just after actual insert, before inserting related objs
Norbert Buchmuller [Fri, 21 Nov 2008 23:34:29 +0000]
* Added tests for passing arrayrefs as bind values for PostgreSQL array values.
Norbert Buchmuller [Fri, 21 Nov 2008 23:28:58 +0000]
* Updated svn:ignore.
Norbert Buchmuller [Fri, 21 Nov 2008 23:27:42 +0000]
* Added a WHATSNEW.txt file that summarises the changes on this branch.
Norbert Buchmuller [Fri, 21 Nov 2008 23:23:05 +0000]
* Documented order_by => [ { -desc => 'col' } ] syntax.
Norbert Buchmuller [Fri, 21 Nov 2008 23:11:16 +0000]
* Test cases for every supported order_by syntax.
Jason M. Mills [Thu, 20 Nov 2008 15:30:48 +0000]
cleaned out unneeded test packages
Jason M. Mills [Thu, 20 Nov 2008 15:29:29 +0000]
Added weird passes/failes test
Jess Robinson [Thu, 20 Nov 2008 13:49:39 +0000]
Fix pod errors so that some storage subclasses show up in cpan properly
Jason M. Mills [Thu, 20 Nov 2008 12:45:48 +0000]
Test written.
Currently fails.
Peter Rabbitson [Thu, 20 Nov 2008 11:09:11 +0000]
Minor doc patch by Caelum
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.
Peter Rabbitson [Thu, 20 Nov 2008 10:37:47 +0000]
Reinstate todoified tests
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)
Peter Rabbitson [Mon, 17 Nov 2008 11:04:54 +0000]
Extend might_have test with ideas from zby
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
Peter Rabbitson [Mon, 17 Nov 2008 02:48:57 +0000]
Silence cdbi tests like everything else
Peter Rabbitson [Mon, 17 Nov 2008 02:09:18 +0000]
Two failing multicreate tests (the root cause of castaway's problem)
Peter Rabbitson [Mon, 17 Nov 2008 01:59:53 +0000]
Two more sets of might_have - has_many relationships for extra tests
Peter Rabbitson [Mon, 17 Nov 2008 01:00:28 +0000]
One more (passing) multicreate test and a bit of cleanup