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
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
Peter Rabbitson [Thu, 13 Jan 2011 11:41:44 +0000]
Fix for => 'shared' on MySQL (RT#64590)
Peter Rabbitson [Thu, 13 Jan 2011 11:35:36 +0000]
Fix RT#64500
Peter Rabbitson [Thu, 13 Jan 2011 11:24:47 +0000]
Remove some accumulated cruft
Peter Rabbitson [Thu, 13 Jan 2011 10:20:35 +0000]
Cleanup ResultSourceHandle handling after M.A.D. introduction
Since a source/schema combos no longer leak, it is safe to store
strong-refs to sources directly in Row/ResultSet objects. Reduce
ResultSourceHandle to a simple Source "meta-layer" to facilitate
serialization of ResultSources.
In the process improve behavior/error messages of objects which
were deserialized without $schema re-attachment
Peter Rabbitson [Tue, 11 Jan 2011 18:14:07 +0000]
Introduce M.A.D. within the schema/source instance linkage
When a source instance is registered with a schema instance, the code
in Schema::_register_source() adds a strong ref of the source to the
schema register, and a weak schema ref to the source itself. Install
DESTROY handlers both on Schema and ResultSource to flip this setup
any time the Schema instance goes out of scope (if we somehow
increment the refcount of $self in a DESTROY, then the garbage
collection is aborted). Tested all the way back to 5.8.1 with excellent
results.
Promote the source links in both ResultSet and Row to real ResultSource
instance refs, as there's no longer any issue with memory leaks (before
a source handle would be instantiated lazily to sidestep the source
object entirely by keeping a schema ref instead).
Add freeze/thaw hooks for proper serialization of Source-containing
structures (be it Row's or ResultSet's). In another round of cleanup
ResultSourceHandle will be reduced to purely a "no schema yet"
placeholder after schema-less a freeze/thaw cycle.
Peter Rabbitson [Tue, 11 Jan 2011 17:25:39 +0000]
5.8.1 threads are wonky - tests no longer pass with recent DBD::Pg
Peter Rabbitson [Thu, 6 Jan 2011 08:59:12 +0000]
Fasterize
ostmann [Mon, 10 Jan 2011 10:56:49 +0000]
Fix losing order of columns provided in select/as
Brian Phillips [Wed, 12 Jan 2011 19:21:02 +0000]
Multiple optimizations of $rs->populate
Remove unnecessary "find" while populating has_many, and reduce the overall
amount of method calls
Brian Phillips [Wed, 12 Jan 2011 18:46:32 +0000]
Fix populate with an emply ([]) has_many
these are ignored if they're empty which makes them much more
compatible with HashRefInflator data sets
Rafael Kitover [Mon, 10 Jan 2011 19:55:20 +0000]
remove warning about trying to delete open file in t/inflate/file_column.t
Peter Rabbitson [Wed, 5 Jan 2011 23:27:05 +0000]
Fix default selection resolution - make frew happy :)
Peter Rabbitson [Wed, 5 Jan 2011 14:52:09 +0000]
Make sure unaliased selectors and prefetch coexist peacefully
Peter Rabbitson [Wed, 5 Jan 2011 14:43:15 +0000]
Fix bind transport for group_by (this code is so fucking ugly...)
Justin Hunter [Tue, 28 Dec 2010 18:17:18 +0000]
Release 0.08126
Peter Rabbitson [Tue, 28 Dec 2010 17:03:56 +0000]
Stop running on smokers with a screwed up Package::Stash
Peter Rabbitson [Tue, 28 Dec 2010 11:25:00 +0000]
Fix a deadlock-prone test
Peter Rabbitson [Mon, 27 Dec 2010 09:38:31 +0000]
Stop t/storage/error from failing on memory-leaking smokers
(based on
d5e5fb4b)
Peter Rabbitson [Mon, 27 Dec 2010 09:41:08 +0000]
Fix Class::Accessor::Grouped and Hash::Merge dependencies
Both were pulled in by SQLA but still :)
Peter Rabbitson [Mon, 27 Dec 2010 09:52:18 +0000]
Add missed credit for
8592e2d1
Arthur Axel 'fREW' Schmidt [Mon, 27 Dec 2010 04:23:51 +0000]
Release 0.08125
Peter Rabbitson [Mon, 27 Dec 2010 03:55:01 +0000]
Extra test for Replicated debug (forgotten in
8592e2d1)
Peter Rabbitson [Mon, 27 Dec 2010 03:41:14 +0000]
Latest blead (5.13.8) allows us to see $@ again
... but does not allow us to change it still (it is set twice),
this is something that the SIG wrapper will take care of once
viable.
Peter Rabbitson [Mon, 27 Dec 2010 03:28:15 +0000]
Fix missed mention of renamed module
Peter Rabbitson [Tue, 16 Nov 2010 17:02:45 +0000]
Another revamp of the selector resolution - now supporting unbalanced select/as
Builds on top of
37aafa2e
Peter Rabbitson [Sat, 25 Dec 2010 03:52:21 +0000]
Deprecate DBIx::Class::Serialize::Storable (all functionality is in ResultSourceHandle)
Peter Rabbitson [Sat, 25 Dec 2010 03:38:41 +0000]
Fail early on literal-ordered complex prefetch without explicit group_by clause
Peter Rabbitson [Sat, 25 Dec 2010 03:10:45 +0000]
Only add a group_by to a complex prefetch if a non-selecting multi-join is detected
Peter Rabbitson [Fri, 12 Mar 2010 00:22:19 +0000]
Fix check for blessedness and minor cleanup in many_to_many helper
Peter Rabbitson [Fri, 6 Aug 2010 22:01:46 +0000]
Clean up from/select bind value handling (RT#61025)
Peter Rabbitson [Fri, 24 Dec 2010 12:57:30 +0000]
Reduce warnings introduced in
450e6dbf to one per callsite
Rafael Kitover [Sun, 26 Dec 2010 02:04:12 +0000]
Improve fallback-to-master/return-to-slave reporting in ::Replicated::Balancer
(patch from Bill Moseley)
Peter Rabbitson [Thu, 23 Dec 2010 19:39:24 +0000]
Deprecate -nest with strong prejudice
Peter Rabbitson [Thu, 23 Dec 2010 19:23:45 +0000]
Fix no-quoting assumptions in 'having' docs (RT#64129)
Alexander Hartmaier [Fri, 17 Dec 2010 14:57:36 +0000]
added RDBMS optional dependency groups for use by DBIC users + tests
Squeeks [Fri, 17 Dec 2010 17:24:06 +0000]
Removing perl -w usage in example code.
Gordon Irving [Mon, 9 Aug 2010 22:50:02 +0000]
Add missing attributes to Admin.pm (referenced in dbicadmin's POD)
Peter Rabbitson [Fri, 17 Dec 2010 08:00:40 +0000]
Switch the shortener (used only by oracle) reqs to an optional dependency
Peter Rabbitson [Wed, 15 Dec 2010 15:58:46 +0000]
Stop mangling sql on the way out of the limit dialects
Peter Rabbitson [Wed, 15 Dec 2010 11:27:24 +0000]
More oracle sequence detection woes RT#63493
Rafael Kitover [Wed, 22 Dec 2010 14:22:56 +0000]
Fix missed t/inflate/datetime_sqlanywhere.t migration to standalone small_dt
Rafael Kitover [Tue, 21 Dec 2010 20:01:32 +0000]
Remove small_datetime from the main schema - it is not a standard datatype
Fabien Wernli [Thu, 16 Dec 2010 13:33:42 +0000]
force NLS_{LANG,COMP,SORT} for improved predictability
Rafael Kitover [Tue, 7 Dec 2010 23:47:54 +0000]
merge and improve _is_lob_type from Sybase::ASE into Storage::DBI
Alexander Hartmaier [Tue, 25 May 2010 15:55:26 +0000]
support INSERT ... RETURNING in Oracle 8i and later
Rafael Kitover [Wed, 15 Dec 2010 09:12:55 +0000]
rewrite Schema::Loader section in Manual::Intro
Rafael Kitover [Fri, 3 Dec 2010 09:16:56 +0000]
rename sybase_asa tests and env vars to sqlanywhere
Peter Rabbitson [Thu, 2 Dec 2010 10:37:02 +0000]
Support for -value op in search (for pg arrays and stuff)
Peter Rabbitson [Wed, 1 Dec 2010 02:33:00 +0000]
Order core dependencies, bump CAG to the rewritten fastiness
Peter Rabbitson [Wed, 1 Dec 2010 02:21:50 +0000]
Limit the void context search exceptions to non-dbic code
<robkinyon> i can fully imagine someone doing it because of side-effects they've added
<robkinyon> to something they didn't realize called search
Peter Rabbitson [Wed, 1 Dec 2010 00:52:42 +0000]
Missing podcoverage skips
Peter Rabbitson [Wed, 1 Dec 2010 00:42:19 +0000]
Make the has-ident check in Row->update even lazier
Peter Rabbitson [Mon, 29 Nov 2010 06:22:51 +0000]
Indulge in some microoptimization
Per: http://lists.scsys.co.uk/pipermail/dbix-class/2010-November/009600.html
and http://lists.scsys.co.uk/pipermail/dbix-class/2010-November/009601.html
Fabien Wernli [Fri, 23 Jul 2010 15:55:19 +0000]
Get Storage::Oracle to behave when quoting is enabled
Also fix Pg being unable to handle scalarref sequences
Peter Rabbitson [Mon, 29 Nov 2010 05:18:51 +0000]
Quieter Sybase tests
Peter Rabbitson [Sun, 28 Nov 2010 03:39:48 +0000]
Separate the oracle core and hq tests