Peter Rabbitson [Sat, 12 Mar 2011 22:58:13 +0000]
Add startup sanity check of the ::DBI::Replicated method dispatch tables
In order to do this during testing only introduce the ::_ENV_::DBICTEST macro,
and also make sure DBICTest::RunMode is loaded before the macro is set
(therefore the multiple test changes)
Peter Rabbitson [Fri, 11 Mar 2011 17:54:25 +0000]
Lazily load DBD::Pg in ::Storage::DBI::Pg, only when typing is required
Rob Kinyon [Sat, 12 Mar 2011 03:34:28 +0000]
Fixed bug in _strip_cond_qualifiers, patch generously by Grant Street Group.
Matt Phillips [Thu, 17 Mar 2011 01:00:44 +0000]
Fixed: RS example code was broken
Robert Buels [Sat, 12 Mar 2011 23:06:39 +0000]
cascading delete on a nonexistent relation should warn instead of
dieing uninformatively.
Robert Buels [Wed, 9 Mar 2011 16:53:45 +0000]
reorganize docs for load_namespaces method
Jason Mills [Fri, 11 Mar 2011 01:16:53 +0000]
Fix 'exit via next' warning from DBIx::Class::ResultSource::sequence
Peter Rabbitson [Tue, 8 Mar 2011 12:58:38 +0000]
Make sure the component_class autoloader works across module reloads
(works around corner cases from
db29433c)
Rafael Kitover [Mon, 7 Mar 2011 04:22:57 +0000]
fixup Firebird ODBC driver for DBD::ODBC 1.29
Peter Rabbitson [Tue, 1 Mar 2011 08:14:55 +0000]
Switch sql_maker_class and datetime_parser_type to component_class accessors
Justin Hunter [Mon, 28 Feb 2011 23:28:53 +0000]
Switch cursor accessor to CAG's component_class type for autoloading
Rafael Kitover [Tue, 1 Mar 2011 04:02:15 +0000]
create file_columns table when DBICTEST_SQLT_DEPLOY env var is not set
Breakage introduced in 123df52
Jonathan Yu [Fri, 25 Feb 2011 12:11:29 +0000]
Minor POD spelling and link fixes
* Use proper L<Pod::Name/Section> style, rather than the incorrect
L<Pod::Name#Section> style (thanks mst)
* Some minor spelling errors picked up by Lintian
Matt Phillips [Sat, 26 Feb 2011 20:35:42 +0000]
Modified: small doc patch explaining a gotcha
Peter Rabbitson [Tue, 1 Feb 2011 08:12:20 +0000]
Extra test for mysql_auto_reconnect and fork
Peter Rabbitson [Tue, 22 Feb 2011 16:20:41 +0000]
Lazy-load as many of the non-essential modules as possible
Peter Rabbitson [Mon, 31 Jan 2011 12:29:53 +0000]
Cleanup C3 handling, require updated Class::C3::Componentised
Peter Rabbitson [Wed, 23 Feb 2011 13:10:24 +0000]
Fix quote_names assumption of DBD::* availability
Peter Rabbitson [Tue, 22 Feb 2011 12:52:58 +0000]
Move the test bits related to deprecated IC::File out of the main testschema
Peter Rabbitson [Fri, 21 Jan 2011 17:49:57 +0000]
Make pg tests cleanup better after themselves
Peter Rabbitson [Tue, 15 Feb 2011 11:36:35 +0000]
Fix rev_rel_info on prototype sources
Peter Rabbitson [Tue, 15 Feb 2011 09:44:05 +0000]
Simplify implementation of reverse_relationship_info (no func. changes)
The only difference is getting rid of an arrayref support condition, but
it is not supported at the top level anyway
Rafael Kitover [Tue, 8 Feb 2011 15:57:35 +0000]
Temporarily monkeypatch DBD::ADO to fix warnings during global destruction
Rafael Kitover [Sun, 6 Feb 2011 11:12:54 +0000]
rewrite SQLAnywhere GUID normalizing as a cursor_class (formerly a _select_args hack)
Rafael Kitover [Fri, 4 Feb 2011 14:42:31 +0000]
Refactor UUID generation logic in ::Storage::DBI::UniqueIdentifier
milki [Sun, 13 Feb 2011 21:04:33 +0000]
Patch to schema->deploy against a file
Fixes skipped lines when a comment is followed by a statement
Explicitly split on single line comments and not just ;\n
Add some FIXME comments on the state of deploy
Alexander Hartmaier [Tue, 22 Feb 2011 09:11:04 +0000]
use -in SQL::Abstract operator instead of literal 'IN' in cookbook
Rafael Kitover [Sat, 19 Feb 2011 17:14:16 +0000]
Display a warning when an ODBC or ADO subclass is not found
Rafael Kitover [Sun, 6 Feb 2011 20:22:34 +0000]
Multiple code/test/doc improvements for MSSQL over DBD::ADO
Rafael Kitover [Sun, 23 Jan 2011 12:03:13 +0000]
Add extra test blob type
Rafael Kitover [Sun, 23 Jan 2011 12:03:13 +0000]
Cleanup/extend blob/clob detection/checks
Rafael Kitover [Sun, 23 Jan 2011 12:03:13 +0000]
Use a safer $dbh->get_info
Peter Rabbitson [Tue, 15 Feb 2011 09:42:45 +0000]
Fix replicated fails introduced with
2b8cc2f2
Moritz Onken [Sun, 13 Feb 2011 09:53:35 +0000]
fixed description to cookbook example
Moritz Onken [Sun, 13 Feb 2011 09:49:08 +0000]
fixed cookbook example
Arthur Axel 'fREW' Schmidt [Fri, 11 Feb 2011 15:37:14 +0000]
add mailmap for consistency
Peter Rabbitson [Tue, 1 Feb 2011 15:16:00 +0000]
Add proper DateTime handling to t/52leaks.t
Peter Rabbitson [Mon, 31 Jan 2011 16:00:46 +0000]
Better exception when things get really really bad with prepare()
Rafael Kitover [Wed, 2 Feb 2011 14:55:27 +0000]
add quote_names connect_info option
Peter Rabbitson [Sat, 29 Jan 2011 14:46:49 +0000]
Fix wrong author email from
f92a9d79
Ronald J Kimball [Tue, 25 Jan 2011 15:53:10 +0000]
Fix broken sections links in POD
Peter Rabbitson [Thu, 27 Jan 2011 00:02:47 +0000]
Fix for SpeedyCGI and an extensive test of persistent environments (RT#65131)
Peter Rabbitson [Thu, 27 Jan 2011 00:02:33 +0000]
Ignore to-be-leaktested classdata, instead of forcibly freeing it
Peter Rabbitson [Wed, 26 Jan 2011 11:37:50 +0000]
Correct Makefile.PL authortests borkage
Fix last-resort error message and do an explicit require (though
it should *not* be necessary people broke it somehow)
Peter Rabbitson [Tue, 25 Jan 2011 12:20:42 +0000]
Stop eating syntax errors in ODBC drivers
Peter Rabbitson [Mon, 24 Jan 2011 10:12:19 +0000]
Fix broken select/group bind in Oracle (after
0542ec57 & 4c2b30d6)
Peter Rabbitson [Thu, 20 Jan 2011 22:59:07 +0000]
Disable default mysql_auto_reconnect for MySQL
Rafael Kitover [Fri, 21 Jan 2011 12:24:31 +0000]
improve MSSQL+ODBC initialization, clarify docs on SCOPE_IDENTITY() and dynamic cursors
Peter Rabbitson [Tue, 25 Jan 2011 08:51:16 +0000]
Release 0.08190
Rafael Kitover [Mon, 24 Jan 2011 17:52:37 +0000]
remove mention of name_sep from Schema::Loader doc
Rafael Kitover [Mon, 24 Jan 2011 14:40:24 +0000]
update Schema::Loader docs
Peter Rabbitson [Thu, 20 Jan 2011 11:41:40 +0000]
Merge branch 'people/riba/extrels' into 0.08200_track_do_not_rebase
Peter Rabbitson [Mon, 17 Jan 2011 10:50:07 +0000]
Rewrite the check for nontrivial joinfree conditions to throw on both new_related and set_from_related
Peter Rabbitson [Mon, 17 Jan 2011 03:17:44 +0000]
Add some extra tests written while debugging, remove design draft
Peter Rabbitson [Sun, 16 Jan 2011 00:14:03 +0000]
Fix $object->search_related aliasing, change semantics of _resolve_condition
Change the RV of _resolve_condition one last time. Now it checks the RV of the
resolved coderef (if any), and chooses (preferrably) the join-free condition
or the cross-table one. In list context returns a flag signifying if the
resulting condition is available for standalone use (false) or requires the
joins to remain (true)
Peter Rabbitson [Mon, 17 Jan 2011 02:49:54 +0000]
Pass relationship name to _resolve_condition explicitly
The API is ambuguous at best, will need a cleanup some day, for now just do by
tackling even more arguments to the method, yielding insanity like:
_resolve_condition($cond, $obj, $f_rel, $f_rel) BLEH!
Peter Rabbitson [Tue, 14 Dec 2010 12:35:34 +0000]
Sanity check args passed to a coderef conditionmaker
Daniel Ruoso [Mon, 13 Dec 2010 13:13:36 +0000]
use $self->{from_bind} for extra binds transport
The __overriden_select method was used to build extra binds
that should be transported in the $self->{from_bind} array
instead.
Peter Rabbitson [Sun, 12 Dec 2010 07:14:10 +0000]
Untodoify tests - these are not 'nice to have', they must work
Peter Rabbitson [Sun, 12 Dec 2010 07:10:54 +0000]
Back out "support for prefetch from resultsource using extended_rels"
Blindly taking the condition retuned by an incomplete (not
all pieces of the hashref are supplied) call to the condition
maker, and attempting to order by its keys assuming it is a
hash is... naive
Daniel Ruoso [Tue, 30 Nov 2010 13:24:35 +0000]
do not use "me" on the related_resultset pessimization
This was requested by ribasushi, but it is still incomplete.
Added a TODO test with the expected final query.
Problem is: the alias is defined in $source->_resolve_join,
which is completely disconnected from the search context
so it cannot receive a different alias
Daniel Ruoso [Wed, 24 Nov 2010 19:08:07 +0000]
refuse to invoke create_related as class method
t/cdbi/09-has-many.t has a specific test for it.
Daniel Ruoso [Wed, 24 Nov 2010 18:33:07 +0000]
fix the alias in the identity column
When building the identity where clause, discover the current_source_alias
to build the hash correctly
Daniel Ruoso [Wed, 24 Nov 2010 18:26:20 +0000]
eager check if the create_related is at all possible
When calling create_related, it should stop trying if the extended rel
does not provide the complete relationship definition.
Daniel Ruoso [Wed, 24 Nov 2010 17:35:02 +0000]
When getting a related_resultset in a row with custom rels without the extended definition, we step back, get a rs equivalent to the current row and do a search_related there.
Daniel Ruoso [Mon, 22 Nov 2010 16:51:53 +0000]
adds a test with many to many and extended rels that is currently failing.
Daniel Ruoso [Mon, 22 Nov 2010 15:12:17 +0000]
support for prefetch from resultsource using extended_rels
Daniel Ruoso [Mon, 22 Nov 2010 13:56:57 +0000]
checks if the complex conditions are overriden in set_from_related
Peter Rabbitson [Sun, 24 Oct 2010 02:29:30 +0000]
Switch code/documentation/examples/tests to the new single-arg syntax
Jess Robinson [Sat, 4 Sep 2010 17:40:18 +0000]
Relationship documentation on extended (custom) relationship conditions
Daniel Ruoso [Fri, 20 Aug 2010 14:34:44 +0000]
kills test that wrongfully expects sqla to die with hash in joins
Daniel Ruoso [Sun, 13 Jun 2010 21:50:22 +0000]
cascades default to 0 when using extended rels
Daniel Ruoso [Wed, 2 Jun 2010 20:13:24 +0000]
makes search_related on extended rels without the optimized version work. involves hacking the from attribute
Daniel Ruoso [Wed, 2 Jun 2010 17:27:37 +0000]
Most of the code reviewed... Missing ResultSet->populate, ResultSet->find, Row->copy and Relationship::Accessor->add_relationship_accessor
Peter Rabbitson [Mon, 31 May 2010 15:06:49 +0000]
A spec of what needs to happen to get complete custom relationships support
Daniel Ruoso [Tue, 25 May 2010 18:50:55 +0000]
First attempt to make extended_rels work.
Peter Rabbitson [Sat, 12 Sep 2009 10:11:41 +0000]
Reshape initial tests
Moritz Onken [Tue, 30 Jun 2009 17:45:49 +0000]
failing test
Moritz Onken [Tue, 30 Jun 2009 17:17:51 +0000]
Subject to this branch
Rafael Kitover [Wed, 19 Jan 2011 21:40:24 +0000]
improve bare ODBC dsn warning
Alexander Hartmaier [Wed, 19 Jan 2011 18:38:37 +0000]
Release 0.08127
Rafael Kitover [Tue, 4 Jan 2011 12:06:53 +0000]
Examples/instructions for connecting to MSSQL over DBD::ODBC
Rafael Kitover [Tue, 4 Jan 2011 12:06:53 +0000]
Change indentation after
384b8bce2 (whitespace changes only)
Rafael Kitover [Tue, 4 Jan 2011 12:06:53 +0000]
Improvements for MSSQL+ODBC multiple active resultset options
Rafael Kitover [Tue, 4 Jan 2011 12:06:53 +0000]
Move mssql/sybase guid tests to their own table (do not reuse artist)
Peter Rabbitson [Wed, 19 Jan 2011 13:49:26 +0000]
Rewrap Changes before 0.08127
Alexander Hartmaier [Fri, 26 Nov 2010 16:13:35 +0000]
Fix deploy and relationship traversal on partial schemas
Peter Rabbitson [Wed, 19 Jan 2011 11:17:47 +0000]
DBIC now warns on explicit false AutoCommit, and when altering external $dbh's
Peter Rabbitson [Wed, 19 Jan 2011 11:13:32 +0000]
Cleanup some of the storage tests (no func. changes)
Peter Rabbitson [Tue, 18 Jan 2011 17:46:44 +0000]
Start calling result_source_instance automatically when result_source is undef
Fix specifically for the POBox folks abusing the power of ->new :)
Peter Rabbitson [Tue, 18 Jan 2011 13:49:21 +0000]
Fix incorrect error detection during populate() on Oracle
Peter Rabbitson [Mon, 17 Jan 2011 11:12:03 +0000]
Fix stupid stupid ommission RT#64839
Peter Rabbitson [Sat, 15 Jan 2011 10:31:32 +0000]
Add back populate stress-test (inadvertently broken in
d35a6fed)
Peter Rabbitson [Fri, 14 Jan 2011 22:53:21 +0000]
Skip test on smokers with broken Moose
Peter Rabbitson [Fri, 14 Jan 2011 21:32:41 +0000]
ENV manging warning on older perls
Maik Hentsche [Mon, 14 Jun 2010 08:32:20 +0000]
Cleaner error message for using source() without required argument
Alexander Hartmaier [Fri, 14 Jan 2011 14:06:37 +0000]
Release 0.08126_01
Peter Rabbitson [Sun, 9 Jan 2011 08:52:27 +0000]
New namespace::clean to resolve the Package::Stash megafail
Peter Rabbitson [Fri, 14 Jan 2011 12:07:50 +0000]
Reduce to a warning the commit-without-apparent-begin exception from
7d216b10
Peter Rabbitson [Fri, 14 Jan 2011 11:41:42 +0000]
Reduce to a warning the find-with-NULL-key exception from
b7743dab