13 years agoFixed: RS example code was broken
Matt Phillips [Thu, 17 Mar 2011 01:00:44 +0000]
Fixed: RS example code was broken

13 years agocascading delete on a nonexistent relation should warn instead of
Robert Buels [Sat, 12 Mar 2011 23:06:39 +0000]
cascading delete on a nonexistent relation should warn instead of
dieing uninformatively.

13 years agoreorganize docs for load_namespaces method
Robert Buels [Wed, 9 Mar 2011 16:53:45 +0000]
reorganize docs for load_namespaces method

13 years agoFix 'exit via next' warning from DBIx::Class::ResultSource::sequence
Jason Mills [Fri, 11 Mar 2011 01:16:53 +0000]
Fix 'exit via next' warning from DBIx::Class::ResultSource::sequence

13 years agoMake sure the component_class autoloader works across module reloads
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)

13 years agofixup Firebird ODBC driver for DBD::ODBC 1.29
Rafael Kitover [Mon, 7 Mar 2011 04:22:57 +0000]
fixup Firebird ODBC driver for DBD::ODBC 1.29

13 years agoSwitch sql_maker_class and datetime_parser_type to component_class accessors
Peter Rabbitson [Tue, 1 Mar 2011 08:14:55 +0000]
Switch sql_maker_class and datetime_parser_type to component_class accessors

13 years agoSwitch cursor accessor to CAG's component_class type for autoloading
Justin Hunter [Mon, 28 Feb 2011 23:28:53 +0000]
Switch cursor accessor to CAG's component_class type for autoloading

13 years agocreate file_columns table when DBICTEST_SQLT_DEPLOY env var is not set
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

13 years agoMinor POD spelling and link fixes
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

13 years agoModified: small doc patch explaining a gotcha
Matt Phillips [Sat, 26 Feb 2011 20:35:42 +0000]
Modified: small doc patch explaining a gotcha

13 years agoExtra test for mysql_auto_reconnect and fork
Peter Rabbitson [Tue, 1 Feb 2011 08:12:20 +0000]
Extra test for mysql_auto_reconnect and fork

13 years agoLazy-load as many of the non-essential modules as possible
Peter Rabbitson [Tue, 22 Feb 2011 16:20:41 +0000]
Lazy-load as many of the non-essential modules as possible

13 years agoCleanup C3 handling, require updated Class::C3::Componentised
Peter Rabbitson [Mon, 31 Jan 2011 12:29:53 +0000]
Cleanup C3 handling, require updated Class::C3::Componentised

13 years agoFix quote_names assumption of DBD::* availability
Peter Rabbitson [Wed, 23 Feb 2011 13:10:24 +0000]
Fix quote_names assumption of DBD::* availability

13 years agoMove the test bits related to deprecated IC::File out of the main testschema
Peter Rabbitson [Tue, 22 Feb 2011 12:52:58 +0000]
Move the test bits related to deprecated IC::File out of the main testschema

13 years agoMake pg tests cleanup better after themselves
Peter Rabbitson [Fri, 21 Jan 2011 17:49:57 +0000]
Make pg tests cleanup better after themselves

13 years agoFix rev_rel_info on prototype sources
Peter Rabbitson [Tue, 15 Feb 2011 11:36:35 +0000]
Fix rev_rel_info on prototype sources

13 years agoSimplify implementation of reverse_relationship_info (no func. changes)
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

13 years agoTemporarily monkeypatch DBD::ADO to fix warnings during global destruction
Rafael Kitover [Tue, 8 Feb 2011 15:57:35 +0000]
Temporarily monkeypatch DBD::ADO to fix warnings during global destruction

13 years agorewrite SQLAnywhere GUID normalizing as a cursor_class (formerly a _select_args hack)
Rafael Kitover [Sun, 6 Feb 2011 11:12:54 +0000]
rewrite SQLAnywhere GUID normalizing as a cursor_class (formerly a _select_args hack)

13 years agoRefactor UUID generation logic in ::Storage::DBI::UniqueIdentifier
Rafael Kitover [Fri, 4 Feb 2011 14:42:31 +0000]
Refactor UUID generation logic in ::Storage::DBI::UniqueIdentifier

13 years agoPatch to schema->deploy against a file
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

13 years agouse -in SQL::Abstract operator instead of literal 'IN' in cookbook
Alexander Hartmaier [Tue, 22 Feb 2011 09:11:04 +0000]
use -in SQL::Abstract operator instead of literal 'IN' in cookbook

13 years agoDisplay a warning when an ODBC or ADO subclass is not found
Rafael Kitover [Sat, 19 Feb 2011 17:14:16 +0000]
Display a warning when an ODBC or ADO subclass is not found

13 years agoMultiple code/test/doc improvements for MSSQL over DBD::ADO
Rafael Kitover [Sun, 6 Feb 2011 20:22:34 +0000]
Multiple code/test/doc improvements for MSSQL over DBD::ADO

13 years agoAdd extra test blob type
Rafael Kitover [Sun, 23 Jan 2011 12:03:13 +0000]
Add extra test blob type

13 years agoCleanup/extend blob/clob detection/checks
Rafael Kitover [Sun, 23 Jan 2011 12:03:13 +0000]
Cleanup/extend blob/clob detection/checks

13 years agoUse a safer $dbh->get_info
Rafael Kitover [Sun, 23 Jan 2011 12:03:13 +0000]
Use a safer $dbh->get_info

13 years agoFix replicated fails introduced with 2b8cc2f2
Peter Rabbitson [Tue, 15 Feb 2011 09:42:45 +0000]
Fix replicated fails introduced with 2b8cc2f2

13 years agofixed description to cookbook example
Moritz Onken [Sun, 13 Feb 2011 09:53:35 +0000]
fixed description to cookbook example

13 years agofixed cookbook example
Moritz Onken [Sun, 13 Feb 2011 09:49:08 +0000]
fixed cookbook example

13 years agoadd mailmap for consistency
Arthur Axel 'fREW' Schmidt [Fri, 11 Feb 2011 15:37:14 +0000]
add mailmap for consistency

13 years agoAdd proper DateTime handling to t/52leaks.t
Peter Rabbitson [Tue, 1 Feb 2011 15:16:00 +0000]
Add proper DateTime handling to t/52leaks.t

13 years agoBetter exception when things get really really bad with prepare()
Peter Rabbitson [Mon, 31 Jan 2011 16:00:46 +0000]
Better exception when things get really really bad with prepare()

13 years agoadd quote_names connect_info option
Rafael Kitover [Wed, 2 Feb 2011 14:55:27 +0000]
add quote_names connect_info option

13 years agoFix wrong author email from f92a9d79
Peter Rabbitson [Sat, 29 Jan 2011 14:46:49 +0000]
Fix wrong author email from f92a9d79

13 years agoFix broken sections links in POD
Ronald J Kimball [Tue, 25 Jan 2011 15:53:10 +0000]
Fix broken sections links in POD

13 years agoFix for SpeedyCGI and an extensive test of persistent environments (RT#65131)
Peter Rabbitson [Thu, 27 Jan 2011 00:02:47 +0000]
Fix for SpeedyCGI and an extensive test of persistent environments (RT#65131)

13 years agoIgnore to-be-leaktested classdata, instead of forcibly freeing it
Peter Rabbitson [Thu, 27 Jan 2011 00:02:33 +0000]
Ignore to-be-leaktested classdata, instead of forcibly freeing it

13 years agoCorrect Makefile.PL authortests borkage
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)

13 years agoStop eating syntax errors in ODBC drivers
Peter Rabbitson [Tue, 25 Jan 2011 12:20:42 +0000]
Stop eating syntax errors in ODBC drivers

13 years agoFix broken select/group bind in Oracle (after 0542ec57 & 4c2b30d6)
Peter Rabbitson [Mon, 24 Jan 2011 10:12:19 +0000]
Fix broken select/group bind in Oracle (after 0542ec57 & 4c2b30d6)

13 years agoDisable default mysql_auto_reconnect for MySQL
Peter Rabbitson [Thu, 20 Jan 2011 22:59:07 +0000]
Disable default mysql_auto_reconnect for MySQL

13 years agoimprove MSSQL+ODBC initialization, clarify docs on SCOPE_IDENTITY() and dynamic cursors
Rafael Kitover [Fri, 21 Jan 2011 12:24:31 +0000]
improve MSSQL+ODBC initialization, clarify docs on SCOPE_IDENTITY() and dynamic cursors

13 years agoremove mention of name_sep from Schema::Loader doc
Rafael Kitover [Mon, 24 Jan 2011 17:52:37 +0000]
remove mention of name_sep from Schema::Loader doc

13 years agoupdate Schema::Loader docs
Rafael Kitover [Mon, 24 Jan 2011 14:40:24 +0000]
update Schema::Loader docs

13 years agoimprove bare ODBC dsn warning
Rafael Kitover [Wed, 19 Jan 2011 21:40:24 +0000]
improve bare ODBC dsn warning

13 years agoRelease 0.08127 v0.08127
Alexander Hartmaier [Wed, 19 Jan 2011 18:38:37 +0000]
Release 0.08127

13 years agoExamples/instructions for connecting to MSSQL over DBD::ODBC
Rafael Kitover [Tue, 4 Jan 2011 12:06:53 +0000]
Examples/instructions for connecting to MSSQL over DBD::ODBC

13 years agoChange indentation after 384b8bce2 (whitespace changes only)
Rafael Kitover [Tue, 4 Jan 2011 12:06:53 +0000]
Change indentation after 384b8bce2 (whitespace changes only)

13 years agoImprovements for MSSQL+ODBC multiple active resultset options
Rafael Kitover [Tue, 4 Jan 2011 12:06:53 +0000]
Improvements for MSSQL+ODBC multiple active resultset options

13 years agoMove mssql/sybase guid tests to their own table (do not reuse artist)
Rafael Kitover [Tue, 4 Jan 2011 12:06:53 +0000]
Move mssql/sybase guid tests to their own table (do not reuse artist)

13 years agoRewrap Changes before 0.08127
Peter Rabbitson [Wed, 19 Jan 2011 13:49:26 +0000]
Rewrap Changes before 0.08127

13 years agoFix deploy and relationship traversal on partial schemas
Alexander Hartmaier [Fri, 26 Nov 2010 16:13:35 +0000]
Fix deploy and relationship traversal on partial schemas

13 years agoDBIC now warns on explicit false AutoCommit, and when altering external $dbh's
Peter Rabbitson [Wed, 19 Jan 2011 11:17:47 +0000]
DBIC now warns on explicit false AutoCommit, and when altering external $dbh's

13 years agoCleanup some of the storage tests (no func. changes)
Peter Rabbitson [Wed, 19 Jan 2011 11:13:32 +0000]
Cleanup some of the storage tests (no func. changes)

13 years agoStart calling result_source_instance automatically when result_source is undef
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 :)

13 years agoFix incorrect error detection during populate() on Oracle
Peter Rabbitson [Tue, 18 Jan 2011 13:49:21 +0000]
Fix incorrect error detection during populate() on Oracle

13 years agoFix stupid stupid ommission RT#64839
Peter Rabbitson [Mon, 17 Jan 2011 11:12:03 +0000]
Fix stupid stupid ommission RT#64839

13 years agoAdd back populate stress-test (inadvertently broken in d35a6fed)
Peter Rabbitson [Sat, 15 Jan 2011 10:31:32 +0000]
Add back populate stress-test (inadvertently broken in d35a6fed)

13 years agoSkip test on smokers with broken Moose
Peter Rabbitson [Fri, 14 Jan 2011 22:53:21 +0000]
Skip test on smokers with broken Moose

13 years agoENV manging warning on older perls
Peter Rabbitson [Fri, 14 Jan 2011 21:32:41 +0000]
ENV manging warning on older perls

13 years agoCleaner error message for using source() without required argument
Maik Hentsche [Mon, 14 Jun 2010 08:32:20 +0000]
Cleaner error message for using source() without required argument

13 years agoRelease 0.08126_01
Alexander Hartmaier [Fri, 14 Jan 2011 14:06:37 +0000]
Release 0.08126_01

13 years agoNew namespace::clean to resolve the Package::Stash megafail
Peter Rabbitson [Sun, 9 Jan 2011 08:52:27 +0000]
New namespace::clean to resolve the Package::Stash megafail

13 years agoReduce to a warning the commit-without-apparent-begin exception from 7d216b10
Peter Rabbitson [Fri, 14 Jan 2011 12:07:50 +0000]
Reduce to a warning the commit-without-apparent-begin exception from 7d216b10

13 years agoReduce to a warning the find-with-NULL-key exception from b7743dab
Peter Rabbitson [Fri, 14 Jan 2011 11:41:42 +0000]
Reduce to a warning the find-with-NULL-key exception from b7743dab

13 years agoFix for => 'shared' on MySQL (RT#64590)
Peter Rabbitson [Thu, 13 Jan 2011 11:41:44 +0000]
Fix for => 'shared' on MySQL (RT#64590)

13 years agoFix RT#64500
Peter Rabbitson [Thu, 13 Jan 2011 11:35:36 +0000]
Fix RT#64500

13 years agoRemove some accumulated cruft
Peter Rabbitson [Thu, 13 Jan 2011 11:24:47 +0000]
Remove some accumulated cruft

13 years agoCleanup ResultSourceHandle handling after M.A.D. introduction
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

13 years agoIntroduce M.A.D. within the schema/source instance linkage
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.

13 years ago5.8.1 threads are wonky - tests no longer pass with recent DBD::Pg
Peter Rabbitson [Tue, 11 Jan 2011 17:25:39 +0000]
5.8.1 threads are wonky - tests no longer pass with recent DBD::Pg

13 years agoFasterize
Peter Rabbitson [Thu, 6 Jan 2011 08:59:12 +0000]
Fasterize

13 years agoFix losing order of columns provided in select/as
ostmann [Mon, 10 Jan 2011 10:56:49 +0000]
Fix losing order of columns provided in select/as

13 years agoMultiple optimizations of $rs->populate
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

13 years agoFix populate with an emply ([]) has_many
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

13 years agoremove warning about trying to delete open file in t/inflate/file_column.t
Rafael Kitover [Mon, 10 Jan 2011 19:55:20 +0000]
remove warning about trying to delete open file in t/inflate/file_column.t

13 years agoFix default selection resolution - make frew happy :)
Peter Rabbitson [Wed, 5 Jan 2011 23:27:05 +0000]
Fix default selection resolution - make frew happy :)

13 years agoMake sure unaliased selectors and prefetch coexist peacefully
Peter Rabbitson [Wed, 5 Jan 2011 14:52:09 +0000]
Make sure unaliased selectors and prefetch coexist peacefully

13 years agoFix bind transport for group_by (this code is so fucking ugly...)
Peter Rabbitson [Wed, 5 Jan 2011 14:43:15 +0000]
Fix bind transport for group_by (this code is so fucking ugly...)

13 years agoRelease 0.08126 v0.08126
Justin Hunter [Tue, 28 Dec 2010 18:17:18 +0000]
Release 0.08126

13 years agoStop running on smokers with a screwed up Package::Stash
Peter Rabbitson [Tue, 28 Dec 2010 17:03:56 +0000]
Stop running on smokers with a screwed up Package::Stash

13 years agoFix a deadlock-prone test
Peter Rabbitson [Tue, 28 Dec 2010 11:25:00 +0000]
Fix a deadlock-prone test

13 years agoStop t/storage/error from failing on memory-leaking smokers
Peter Rabbitson [Mon, 27 Dec 2010 09:38:31 +0000]
Stop t/storage/error from failing on memory-leaking smokers

(based on d5e5fb4b)

13 years agoFix Class::Accessor::Grouped and Hash::Merge dependencies
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 :)

13 years agoAdd missed credit for 8592e2d1
Peter Rabbitson [Mon, 27 Dec 2010 09:52:18 +0000]
Add missed credit for 8592e2d1

13 years agoRelease 0.08125 v0.08125
Arthur Axel 'fREW' Schmidt [Mon, 27 Dec 2010 04:23:51 +0000]
Release 0.08125

13 years agoExtra test for Replicated debug (forgotten in 8592e2d1)
Peter Rabbitson [Mon, 27 Dec 2010 03:55:01 +0000]
Extra test for Replicated debug (forgotten in 8592e2d1)

13 years agoLatest blead (5.13.8) allows us to see $@ again
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.

13 years agoFix missed mention of renamed module
Peter Rabbitson [Mon, 27 Dec 2010 03:28:15 +0000]
Fix missed mention of renamed module

13 years agoAnother revamp of the selector resolution - now supporting unbalanced select/as
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

13 years agoDeprecate DBIx::Class::Serialize::Storable (all functionality is in ResultSourceHandle)
Peter Rabbitson [Sat, 25 Dec 2010 03:52:21 +0000]
Deprecate DBIx::Class::Serialize::Storable (all functionality is in ResultSourceHandle)

13 years agoFail early on literal-ordered complex prefetch without explicit group_by clause
Peter Rabbitson [Sat, 25 Dec 2010 03:38:41 +0000]
Fail early on literal-ordered complex prefetch without explicit group_by clause

13 years agoOnly add a group_by to a complex prefetch if a non-selecting multi-join is detected
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

13 years agoFix check for blessedness and minor cleanup in many_to_many helper
Peter Rabbitson [Fri, 12 Mar 2010 00:22:19 +0000]
Fix check for blessedness and minor cleanup in many_to_many helper

13 years agoClean up from/select bind value handling (RT#61025)
Peter Rabbitson [Fri, 6 Aug 2010 22:01:46 +0000]
Clean up from/select bind value handling (RT#61025)

13 years agoReduce warnings introduced in 450e6dbf to one per callsite
Peter Rabbitson [Fri, 24 Dec 2010 12:57:30 +0000]
Reduce warnings introduced in 450e6dbf to one per callsite

13 years agoImprove fallback-to-master/return-to-slave reporting in ::Replicated::Balancer
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)