10 years agoRelease v0.08260 v0.08260
Peter Rabbitson [Tue, 28 Jan 2014 18:49:22 +0000]
Release v0.08260

10 years agoWe still intermittently grab a "leaked" SQLT quoter, skip explicitly
Peter Rabbitson [Tue, 28 Jan 2014 18:42:37 +0000]
We still intermittently grab a "leaked" SQLT quoter, skip explicitly

Will figure this out after 0.08260

10 years agoFactor out the symtable walker, no functional changes but much reshuffling
Peter Rabbitson [Mon, 27 Jan 2014 17:54:30 +0000]
Factor out the symtable walker, no functional changes but much reshuffling

10 years agoOne extra cleanup pass before asserting weakregistry is empty
Peter Rabbitson [Sat, 25 Jan 2014 07:06:39 +0000]
One extra cleanup pass before asserting weakregistry is empty

10 years agoMake 54taint.t actually test the DBIx::Class in lib (originally 689e22d1)
Matt S Trout [Thu, 28 Nov 2013 20:24:40 +0000]
Make 54taint.t actually test the DBIx::Class in lib (originally 689e22d1)

10 years agoSkip annoyingly failing test on broken base.pm
Peter Rabbitson [Mon, 27 Jan 2014 11:50:49 +0000]
Skip annoyingly failing test on broken base.pm

Was broken in 5.19.7, fixed in 5.19.8

10 years agoYet another attempt to solve the mystery-win32-failure cpantesters report
Peter Rabbitson [Sat, 25 Jan 2014 05:18:18 +0000]
Yet another attempt to solve the mystery-win32-failure cpantesters report

While fa19e5d6 was a nice idea, its test was flawed. As seen in the fresh fail
http://www.cpantesters.org/cpan/report/137dfaf3-7bbc-1014-aec2-3d202b825c07
the writability test passed with flying colors, but the lock didn't open right
after that. The only explanation at this point is that the FS underlying this
particular dir can not create filenames starting with a dot <facepalm />
Alternatively it may have to do with the umask(0) call, but this seems even
more insane.

Thus (as unlikely as it seems) the culprit seems to be the name. Hopefully
changing it will be the end of this and we will smoke happily ever after...

10 years agoRewrite writiability test to be clearer and with less warnings
Peter Rabbitson [Sat, 25 Jan 2014 05:06:47 +0000]
Rewrite writiability test to be clearer and with less warnings

10 years agoSkip thread tests under Devel::Cover
Peter Rabbitson [Sat, 25 Jan 2014 09:23:06 +0000]
Skip thread tests under Devel::Cover

10 years agoCounter the strictures bullshit with localised bullshit
Peter Rabbitson [Fri, 24 Jan 2014 07:14:37 +0000]
Counter the strictures bullshit with localised bullshit

10 years agoAugment the logic from aca094b4d, add deprecation to settle the distinct drama
Peter Rabbitson [Fri, 24 Jan 2014 05:26:43 +0000]
Augment the logic from aca094b4d, add deprecation to settle the distinct drama

Details in attached IRC log

magnet#dbic-cabal_20131108.log
====
[19:01:38] <mst> using aggregates and distinct seems like it should be an error
[19:02:12] <mst> since it makes no sense to ask for "GROUP BY everything we select" and then select aggregates AFAICS
[19:03:20] <mst> so, yes, what we did before was ... wtf
[19:04:44] <ribasushi> mst: the point is *sometimes* a select in a group-by may make sense is my gut feeling, I basically wanted to "send the nonsense" along, and have the rdbms be the judge
[19:05:52] <mst> well ... what we did before was definitely completely wrong
[19:06:09] <mst> what we're doing now ... I don't want to release it without thinking it through some more, but it's certainly less wrong
[19:07:40] <mst> but I mean ... I dunno, I think group_over_selection makes sense for subquery wrapping
[19:08:04] <mst> but in the case of 'distinct => 1' I think "can't do that with an aggregate in select, pass a real group by you fucking pansy" would be pretty good too
[19:08:14] <mst> since I'm really not convinced it ever can make sense
[19:08:27] <ribasushi> mst: and I am not convinced it never makes sense
[19:08:36] <ribasushi> mst: so bubbling it up doesn't seem like a loss
[19:09:09] <mst> hmmm
[19:09:44] <ribasushi> mst: also I do not want to *entirely* discourage mysql/sqlite-centric grouppage - if a person wants to do that, they should be able to
[19:09:56] <ribasushi> hence why the explicit \'' rule
[19:10:03] <ribasushi> (that is back from 2009-ish actually)
[19:10:05] <mst> actually, looking at this
[19:10:23] <mst> the sql looks like what the user asked for
[19:10:38] <ribasushi> how so?
[19:10:59] <ribasushi> distinct is "final selection grouper" not "first selection"
[19:11:00] <mst> well, they created a resultset of
[19:11:04] <ribasushi> i.e. it is inherently lazy
[19:11:29] <ribasushi> right, it does not take effect on the current selection, didn't from before I took over
[19:11:53] <mst> SELECT year, COUNT(me.cdid) AS cnt ....
[19:11:57] <mst> and then grabbed the 'cnt' column
[19:13:06] <mst> ribasushi: ResultSet originally (0.05000) did '$attrs->{group_by} ||= $attrs->{select} if delete $attrs->{distinct};' in new()
[19:13:15] <mst> so, yes, it takes effect on the current selection
[19:13:36] <mst> so sql is correct according to the original behaviour as implemented
[19:13:36] <ribasushi> mst: but it did this in *_resolve_attrs*
[19:13:55] <ribasushi> which is after the selection is modified by RSETColumn
[19:14:15] <ribasushi> or to put it diff. - RSetColumn does not do a subquery, just like a ->search doesn't
[19:14:30] <mst> it didn't originally, it did it immediately you supplied the distinct attribute to a search
[19:14:40] <mst> anything else is a bug; fix that and we don't need this crap
[19:14:52] <ribasushi> well - when I came around it was lazified via the late resolver
[19:15:08] <ribasushi> and I had bugs reported when that behavior changed later on when I was doin prefetches
[19:15:17] <ribasushi> so this is crap in production for years
[19:15:41] <ribasushi> mst: https://github.com/dbsrgits/dbix-class/blob/master/t/search/distinct.t behaviors on non-aggregates
[19:15:55] <ribasushi> it accreted stuff obviously, the ages of tests are different
[19:17:01] <ribasushi> mst: basically this boils to "is distinct => 1 lazy or eager" and I am afraid this ship sailed around 0.07
[19:17:17] <ribasushi> "fixing" it will serve nothing but bring breakage
[19:17:48] <mst> yeah, it looks like it got broken when _resolved_attrs was factored out of new()
[19:17:53] <ribasushi> nod
[19:18:28] <ribasushi> so - if we assume "distinct is lazy" - you see why I would go the way I did with the latest fix
[19:19:22] <mst> ribasushi: distinct is lazy works fine, you just have to disallow aggregates in the select list in that case
[19:19:30] <mst> and make them do an explicit group_by for that
[19:20:31] <ribasushi> mst: aggregates via the {} syntax have been supported correctly forever - that is distinct knows to ignore them
[19:20:45] <ribasushi> mst: this test is more or less "aggregate in literal" (due to being an alias)
[19:20:47] <mst> even as far as 08000 it was straight up
[19:20:51] <ribasushi> so I can't disallow it
[19:20:56] <ribasushi> because it is... a literal
[19:20:59] <mst> $attrs->{group_by} ||= $attrs->{select} if delete $attrs->{distinct};
[19:21:11] <mst> so if we started allowing them via the {} syntax that wasn't me
[19:21:17] <ribasushi> mst: I came around 0.08010 ;)
[19:22:01] <mst> ribasushi: $attrs->{group_by} ||= $attrs->{select} if delete $attrs->{distinct};
[19:22:07] <mst> ribasushi: in 08011 which is the first release you did
[19:22:34] <ribasushi> mst: it is very possibkle that I broke it when I wasn't knowing wtf is on
[19:22:46] <mst> I think you made lazy distinct work "better"
[19:22:51] <mst> when it shouldn't've been lazy
[19:22:59] <ribasushi> mst: in any case - it's old shit, so even if I am responsible it still boils to "people depend on that"
[19:23:13] <ribasushi> mst: nod, may very well be my rookie mistake ;)
[19:23:15] <mst> sure. at this point it's "I fucked it up, then you made it worse, we'll have to deprecate it"
[19:23:19] <mst> most likely
[19:23:34] <mst> and the only question is damage control so we don't break current usages while isolating the code
[19:24:48] <ribasushi> deprecating it - I wouldn't go that far, I use distinct a lot myself because it does the group construction for me without me thinking
[19:25:01] <ribasushi> juggling selection/ordering is hard enough ;)

10 years agoCheck that the just-built-distdir is configure-able in usermode
Peter Rabbitson [Fri, 24 Jan 2014 04:55:24 +0000]
Check that the just-built-distdir is configure-able in usermode

10 years agoShuffle author-side M::I stuff out of the way
Peter Rabbitson [Fri, 24 Jan 2014 04:44:49 +0000]
Shuffle author-side M::I stuff out of the way

Zero functional changes

10 years agoLogically separate statements mangled in 3054407e9
Peter Rabbitson [Fri, 24 Jan 2014 04:38:23 +0000]
Logically separate statements mangled in 3054407e9

10 years agoExplicitly declare static config
Peter Rabbitson [Fri, 24 Jan 2014 04:36:29 +0000]
Explicitly declare static config

10 years agoSQLite is not a build_requires dep anymore (trap-the-sigsegv days are gone)
Peter Rabbitson [Fri, 24 Jan 2014 04:30:48 +0000]
SQLite is not a build_requires dep anymore (trap-the-sigsegv days are gone)

10 years agoRemove silly double-entry from test_requires
Peter Rabbitson [Fri, 24 Jan 2014 04:27:21 +0000]
Remove silly double-entry from test_requires

10 years agoAdjust todo escape, use travis-provided 5.8 for one of the poisontests
Peter Rabbitson [Thu, 23 Jan 2014 15:37:01 +0000]
Adjust todo escape, use travis-provided 5.8 for one of the poisontests

10 years agoClarify is_exception(undef) behavior missed in 841efcb3
Peter Rabbitson [Thu, 23 Jan 2014 14:52:21 +0000]
Clarify is_exception(undef) behavior missed in 841efcb3

10 years agoHave tests recover gracefully when File::Spec->tmpdir gives us lemons
Peter Rabbitson [Thu, 23 Jan 2014 13:34:23 +0000]
Have tests recover gracefully when File::Spec->tmpdir gives us lemons

Once and for all solves http://www.cpantesters.org/cpan/report/36d4436d-7888-1014-a278-e5322b825c07

10 years agoMove hrefaddr to DBIC::_Util, give most functions a prototype
Peter Rabbitson [Thu, 23 Jan 2014 10:03:10 +0000]
Move hrefaddr to DBIC::_Util, give most functions a prototype

This way we can safely do e.g. ( hrefaddr $foo, $unrelated_bar )

10 years agoImprove error reporting when we encounter broken exception objects
Peter Rabbitson [Thu, 23 Jan 2014 10:05:30 +0000]
Improve error reporting when we encounter broken exception objects

Undo parts of 935ea660e (which inadevrtently broke 153a6b38), while
keeping the entire shebang running after issuing a stern warning.

10 years agoWork around older DBI (possibly other cases) of faulty tie()
Peter Rabbitson [Thu, 23 Jan 2014 09:35:42 +0000]
Work around older DBI (possibly other cases) of faulty tie()

View diff under -w, similar failcase: http://www.perlmonks.org/?node_id=568377

10 years agoGAH! DBD::SQLite's sqlite_db_filename() is relatively new, undo 9e75be92
Peter Rabbitson [Wed, 22 Jan 2014 16:24:03 +0000]
GAH! DBD::SQLite's sqlite_db_filename() is relatively new, undo 9e75be92

On the bright side, re-trapping $db_file now *SEEMS TO WORK*. What the hell?
Ripping out the dogE-crap of 9e75be92, and trying to forget all of this ever
happened...

10 years agoReport correct mismatching inode in the deletion guard on fixed perls
Peter Rabbitson [Wed, 22 Jan 2014 18:15:52 +0000]
Report correct mismatching inode in the deletion guard on fixed perls

For reference:
http://www.nntp.perl.org/group/perl.perl5.porters/2011/02/msg169414.html

10 years agoScalar::Util 1.38 seems to be fixed, revert 647da28e
Peter Rabbitson [Wed, 22 Jan 2014 18:24:53 +0000]
Scalar::Util 1.38 seems to be fixed, revert 647da28e

10 years agoDo not run the expensive test under PPerl/SppedyCGI
Peter Rabbitson [Wed, 22 Jan 2014 18:18:26 +0000]
Do not run the expensive test under PPerl/SppedyCGI

10 years agoNeed some exceptions removed in 556c4fe6 when some optdeps are missing
Peter Rabbitson [Wed, 22 Jan 2014 18:17:27 +0000]
Need some exceptions removed in 556c4fe6 when some optdeps are missing

10 years agoMassive incompatible change of ::BlockRunner internals
Peter Rabbitson [Wed, 22 Jan 2014 12:00:47 +0000]
Massive incompatible change of ::BlockRunner internals

It was never documented as usable externally (though folks do use it, sigh)
This last set of changes settles the design for proper documentation and
opening up

10 years agoFix long standing issue with resultset growth on repeated execution (GHPR#29)
Peter Rabbitson [Wed, 22 Jan 2014 09:50:23 +0000]
Fix long standing issue with resultset growth on repeated execution (GHPR#29)

The "save the SQLA argstack" dirty solution introduced in 975b573a actually
resulted in an infinitely growing nested data structure, containing the
history of *every* reinvocation of the resultset. Scale back the problematic
part, though this is still an interim workaround. A DQ-based stack should
make this much cleaner.

10 years agoStop using precomputed SQLite testdb name, fix test-end bug in replicated.t
Peter Rabbitson [Mon, 20 Jan 2014 19:05:00 +0000]
Stop using precomputed SQLite testdb name, fix test-end bug in replicated.t

This was an... odd one. Originally the problem manifested as a classic
var-sub-sub closure problem, leading to $db_file being captured and tripping
a more involved testcase that is coming in a subsequent commit. However while
getting rid of the reference itself was easy, this led to the outer coderef
itself being "leaked out".

The reproducing oneliner is:

~$ perl -MScalar::Util=weaken -Mstrict -Mwarnings -e '
 sub foo {
   my $rv = sub { "wtf" }; return $rv;
 }

 my $should_be_gone;

 {
   $should_be_gone = foo();
   weaken ($should_be_gone);
 }

 warn $should_be_gone;  # why is this still defined@!%#$!$#
'

Various tools indicated that it is somehow attached to the PAD of the static
foo() sub, but I could not figure out *why* exactly this is happening, nor
how to properly list it: PadWalker's closed_over() shows nothing for foo()

Thus invoking doge on the whole shebang, and moving on. SUCH WTF, WOW!

Incientally changing things to use the current SQLite filename revealed
a bug in t/storage/replicated.t, which was never noticed as it only
resulted in annoying warnings under Win32 global destroy (test
teardown).

10 years agoAdd extra operations to the heavy duty leaktrace scope
Peter Rabbitson [Mon, 26 Aug 2013 13:24:04 +0000]
Add extra operations to the heavy duty leaktrace scope

Fire all so-far-collected resultsets multiple times

10 years agoDo not track plain scalar refs on 5.17+ for the time being
Peter Rabbitson [Mon, 20 Jan 2014 13:12:23 +0000]
Do not track plain scalar refs on 5.17+ for the time being

10 years agoSmoke 5.16.2 (ensure we are not affected by Encode leak) and bump latest 5.18
Peter Rabbitson [Mon, 20 Jan 2014 10:50:25 +0000]
Smoke 5.16.2 (ensure we are not affected by Encode leak) and bump latest 5.18

10 years agoStop circref TODO based on RT#82942 from failing after changes in 96577657
Peter Rabbitson [Sun, 19 Jan 2014 17:08:09 +0000]
Stop circref TODO based on RT#82942 from failing after changes in 96577657

10 years agoNow that we have the tools leak-track much more stuff when XS is there
Peter Rabbitson [Wed, 15 Jan 2014 15:04:30 +0000]
Now that we have the tools leak-track much more stuff when XS is there

10 years agoSwitch to a global symtable "classdata" visitor
Peter Rabbitson [Wed, 15 Jan 2014 15:04:24 +0000]
Switch to a global symtable "classdata" visitor

This not only allows us to track anything global, not only CAG stuff
but also removes a bunch of workarounda from t/52leaks.t \o/

10 years agoEven saner diagnostics (view under diff -w)
Peter Rabbitson [Wed, 15 Jan 2014 15:19:54 +0000]
Even saner diagnostics (view under diff -w)

Now that we no longer store signs of "ref X was here but GCed" there is no
point in "No leaks of X" pass()es either

10 years agoStop various CLONE-registries from growing indefinitely
Peter Rabbitson [Tue, 14 Jan 2014 15:19:26 +0000]
Stop various CLONE-registries from growing indefinitely

10 years agoRewire the leaktracer to store all refs by address, not by name
Peter Rabbitson [Sun, 29 Dec 2013 06:25:53 +0000]
Rewire the leaktracer to store all refs by address, not by name

Also add better diagnostics during failure

10 years agoCentralize handling of refcount in DBIC::_Util
Peter Rabbitson [Sun, 12 Jan 2014 12:36:30 +0000]
Centralize handling of refcount in DBIC::_Util

10 years agoSwitch the bleadcpan test to 5.8.7
Peter Rabbitson [Sun, 19 Jan 2014 21:59:23 +0000]
Switch the bleadcpan test to 5.8.7

10 years agoAllow devcpan tests to pass by not considering SQLA 1.99_xx
Peter Rabbitson [Sun, 19 Jan 2014 22:47:28 +0000]
Allow devcpan tests to pass by not considering SQLA 1.99_xx

10 years agoTemporary CI workaround for RT#92226
Peter Rabbitson [Sun, 19 Jan 2014 18:24:49 +0000]
Temporary CI workaround for RT#92226

10 years agoUnused import
Peter Rabbitson [Sun, 12 Jan 2014 12:34:42 +0000]
Unused import

10 years agoFix ridiculous regex anchor mistake from 66137dffe
Peter Rabbitson [Sun, 19 Jan 2014 11:39:28 +0000]
Fix ridiculous regex anchor mistake from 66137dffe

10 years agoSQLite changed their exception text again
Peter Rabbitson [Mon, 13 Jan 2014 11:49:53 +0000]
SQLite changed their exception text again

10 years agoFix warning in t/54taint.t with explicitly unset PERL5LIB (RT#91972)
Zefram [Sun, 12 Jan 2014 20:04:27 +0000]
Fix warning in t/54taint.t with explicitly unset PERL5LIB (RT#91972)

10 years agoClarify that this is not a fix but a workaround for loud users
Peter Rabbitson [Mon, 6 Jan 2014 12:00:12 +0000]
Clarify that this is not a fix but a workaround for loud users

10 years agoTemporary todo list
Peter Rabbitson [Mon, 6 Jan 2014 11:52:27 +0000]
Temporary todo list

10 years agoAdd .mailmap entry for my work address
Dagfinn Ilmari Mannsåker [Fri, 3 Jan 2014 21:18:06 +0000]
Add .mailmap entry for my work address

10 years agoFix typo in Changes
Dagfinn Ilmari Mannsåker [Fri, 3 Jan 2014 21:17:30 +0000]
Fix typo in Changes

10 years agoFull depchain test on plain blead
Peter Rabbitson [Fri, 3 Jan 2014 09:37:03 +0000]
Full depchain test on plain blead

10 years agoGrumble - Module::Runtime is M::B-based, wtf Zefram
Peter Rabbitson [Fri, 3 Jan 2014 09:33:54 +0000]
Grumble - Module::Runtime is M::B-based, wtf Zefram

10 years agoRevert 8c11c33f - the AAAA record got axed
Peter Rabbitson [Fri, 3 Jan 2014 09:32:27 +0000]
Revert 8c11c33f - the AAAA record got axed

https://github.com/CPAN-API/metacpan-web/issues/1029

10 years agoExtra (passing) test case generated while investigating the cause of RT#91375
Karen Etheridge [Wed, 18 Dec 2013 23:52:30 +0000]
Extra (passing) test case generated while investigating the cause of RT#91375

10 years agoBetter explanation for optional fk values in rels
David Schmidt [Mon, 23 Dec 2013 14:43:27 +0000]
Better explanation for optional fk values in rels

10 years agoFixed typos
David Schmidt [Mon, 30 Dec 2013 09:32:32 +0000]
Fixed typos

10 years agoExtra poison - have our latest stable in PERL5LIB
Peter Rabbitson [Fri, 27 Dec 2013 05:53:06 +0000]
Extra poison - have our latest stable in PERL5LIB

10 years agoBetter instrument memcached test against failures like 106c81a5
Peter Rabbitson [Fri, 27 Dec 2013 05:28:04 +0000]
Better instrument memcached test against failures like 106c81a5

10 years agoRequire latest SQLA (some deprecations, lots of parser fixes)
Peter Rabbitson [Fri, 27 Dec 2013 04:59:25 +0000]
Require latest SQLA (some deprecations, lots of parser fixes)

10 years agoAugment 287373c2 with a more pinpointed link
Peter Rabbitson [Thu, 19 Dec 2013 11:59:21 +0000]
Augment 287373c2 with a more pinpointed link

10 years agofix test to use qw as (so far as I can see) originally intended
Matt S Trout [Sun, 17 Nov 2013 03:01:29 +0000]
fix test to use qw as (so far as I can see) originally intended

10 years agomisspelling
Karen Etheridge [Wed, 18 Dec 2013 20:41:27 +0000]
misspelling

10 years agoadd link explaining the format of the .mailmap file
Karen Etheridge [Wed, 18 Dec 2013 20:24:59 +0000]
add link explaining the format of the .mailmap file

10 years agoA git based install works in one step with cpanm
Peter Rabbitson [Mon, 16 Dec 2013 08:50:12 +0000]
A git based install works in one step with cpanm

10 years agoDancing around T::B 1.5 is becoming untenable, just limit it away
Peter Rabbitson [Mon, 16 Dec 2013 07:42:16 +0000]
Dancing around T::B 1.5 is becoming untenable, just limit it away

Also add an extra 5.12.1 clean devrel smoke

10 years agoAdd *clean devrel* smokes (full testing of devrels of our deps using cpanm)
Peter Rabbitson [Sun, 15 Dec 2013 10:20:53 +0000]
Add *clean devrel* smokes (full testing of devrels of our deps using cpanm)

10 years agoShow more info about the system and show what did we end up building
Peter Rabbitson [Sun, 15 Dec 2013 10:17:34 +0000]
Show more info about the system and show what did we end up building

10 years agoDisable IPV6 access until metacpan gets their act together
Peter Rabbitson [Sun, 15 Dec 2013 09:40:37 +0000]
Disable IPV6 access until metacpan gets their act together

(Several days to fix a *known* issue with an AAAA record, seriously?)

10 years agoRun parallel_installdeps_notest() with a timeout as well
Peter Rabbitson [Fri, 13 Dec 2013 22:23:21 +0000]
Run parallel_installdeps_notest() with a timeout as well

10 years agoRemove 37b5ab51 test warnings on older perls
Peter Rabbitson [Fri, 13 Dec 2013 19:58:33 +0000]
Remove 37b5ab51 test warnings on older perls

10 years agoRevert parts of e1ab2f7a, the depchain got perturbed again
Peter Rabbitson [Fri, 13 Dec 2013 19:26:48 +0000]
Revert parts of e1ab2f7a, the depchain got perturbed again

Latest strictures now instist on bringing in the extra deps, which can't
be installed without working configure_requires

10 years agoConvert many live-only SQL test to standalone is_same_sql_bind cases
Peter Rabbitson [Mon, 4 Nov 2013 09:03:54 +0000]
Convert many live-only SQL test to standalone is_same_sql_bind cases

10 years agoPass the correct NAME attribute to our dummy EUMM invocation
Peter Rabbitson [Fri, 13 Dec 2013 13:29:33 +0000]
Pass the correct NAME attribute to our dummy EUMM invocation

10 years agoExtra (now passing) oracle test which led to the work in 37b5ab51
Peter Rabbitson [Sat, 7 Dec 2013 15:07:57 +0000]
Extra (now passing) oracle test which led to the work in 37b5ab51

Grumble - this was such a simple thing to diagnose and it took a month to
see it. The culprit was the (correctly bisected to) cleanup in d87929a4,
which failed to take into account that an empty connect() can still lead
to a healthy $dbh, given system-based authoriozation, and no attributes
being passed in.

For the curious - the difficulty to diagnose was further exacerbated by
the apparent insanity of what was being generated - a (known, existing)
method name was somehow leaking into the generated SQL. In reality when
we failed to determine the driver, we also failed to determine the SQLA
subclass, which in turn made us call a nonexisting method on $sql_maker,
but *surprise* - SQL::Abstract (the granddady of it all) defines an
AUTOLOAD. Khaaaaaaaaaaaaa....

10 years agoIncrease oracle xe user process limit from 40 (default) to 150
Robert Bohne [Fri, 13 Dec 2013 15:37:46 +0000]
Increase oracle xe user process limit from 40 (default) to 150

10 years agoStreamline connection codepath, fix $ENV{DBI_DSN} regression from d87929a4
Peter Rabbitson [Tue, 10 Dec 2013 03:53:44 +0000]
Streamline connection codepath, fix $ENV{DBI_DSN} regression from d87929a4

Break out _dbi_connect_info to always take into account $ENV{DBI_DSN} on
a case-by-case basis. This allows to centralize handling of "whose driver
is this anyway" and let more exotic configs still function properly. As a
side effect need to move the _dbi_connect_info() population earlier in the
connect_info() codepath

Also break out the DBI_DRIVER reader, and use it if possible in the
_describe_connection codepath

Additionaly refactor of _connect since there is no point passing the DSN when
we can grab it from $self (this also fixed ::Replicated's _connect() loop
never actually having worked)

10 years agoMake life bearable for windows users wrt EOL
Peter Rabbitson [Sat, 7 Dec 2013 07:39:14 +0000]
Make life bearable for windows users wrt EOL

10 years agoAugment 1363f0f5 for running in hell
Peter Rabbitson [Sat, 7 Dec 2013 05:53:00 +0000]
Augment 1363f0f5 for running in hell

SQLite produces extra warnings on Win32 even with an appropriate IV_SIZE

10 years agoWindows fork is not only slow - it plain breaks on multiple requires :(
Peter Rabbitson [Wed, 4 Dec 2013 06:19:42 +0000]
Windows fork is not only slow - it plain breaks on multiple requires :(

Stop using pseudofork on the lesser platform altogether

10 years agoSeparate DBIC::_ENV_::* setup from loading of the main DBIx::Class module
Peter Rabbitson [Wed, 4 Dec 2013 06:19:42 +0000]
Separate DBIC::_ENV_::* setup from loading of the main DBIx::Class module

10 years agoBetter specification of the JSON::* optdeps
Peter Rabbitson [Wed, 4 Dec 2013 03:19:28 +0000]
Better specification of the JSON::* optdeps

10 years agoNew Test::Kwalitee completely prevents install of Pod::POM
Peter Rabbitson [Sat, 7 Dec 2013 07:23:37 +0000]
New Test::Kwalitee completely prevents install of Pod::POM

Just skip all tests until we get a new release

10 years agoAdd OracleXE 10.2-based testing
Peter Rabbitson [Thu, 28 Nov 2013 08:52:28 +0000]
Add OracleXE 10.2-based testing

10 years agoMemcached no longer autostarts on install on ubuntu - wtf...
Peter Rabbitson [Sat, 7 Dec 2013 07:03:12 +0000]
Memcached no longer autostarts on install on ubuntu - wtf...

10 years agoLatest cpanminus changed its --scandeps error output, bleh
Peter Rabbitson [Sat, 7 Dec 2013 06:44:39 +0000]
Latest cpanminus changed its --scandeps error output, bleh

10 years agoStop correlated subqueries from affecting the aliastypes analysis
Peter Rabbitson [Sun, 17 Nov 2013 12:31:37 +0000]
Stop correlated subqueries from affecting the aliastypes analysis

This should make mind-bending correlations like the ones frew likes to (ab)use
work even when combined with Getty-levels of prefetch extravaganza

10 years agoRename imprecisely named variables in the load_namespaces codepath
Peter Rabbitson [Fri, 8 Nov 2013 12:01:28 +0000]
Rename imprecisely named variables in the load_namespaces codepath

Clarify some error messages while we are at it

10 years agoFix nonsensical result class names introduced by a test in 45f8858e6
Peter Rabbitson [Fri, 8 Nov 2013 09:12:09 +0000]
Fix nonsensical result class names introduced by a test in 45f8858e6

10 years agoThis is an expensive author-only test, move to xt/
Peter Rabbitson [Tue, 5 Nov 2013 08:26:23 +0000]
This is an expensive author-only test, move to xt/

Also get xt tests first in line (won't matter much with -s)

10 years agoMake sure DBICTest is always loaded first (purely bookkeep)
Peter Rabbitson [Tue, 5 Nov 2013 08:17:52 +0000]
Make sure DBICTest is always loaded first (purely bookkeep)

10 years agoWork around TB1.5 hanging with 5.19 - use unreleased github patch
Peter Rabbitson [Tue, 5 Nov 2013 00:44:23 +0000]
Work around TB1.5 hanging with 5.19 - use unreleased github patch

10 years agoRevert 2c300e45 - new backwards compatible SQLT got released
Peter Rabbitson [Tue, 5 Nov 2013 00:29:05 +0000]
Revert 2c300e45 - new backwards compatible SQLT got released

Work is being done to reintroduce the feature with a softer push:
https://github.com/dbsrgits/sql-translator/pull/26#issuecomment-27644756

10 years agoClarify what happens on distinct + get_column($aggregate_alias)
Peter Rabbitson [Mon, 15 Feb 2010 18:45:05 +0000]
Clarify what happens on distinct + get_column($aggregate_alias)

10 years agoCentralize and sanify generation of synthetic group_by criteria
Peter Rabbitson [Thu, 29 Aug 2013 06:14:05 +0000]
Centralize and sanify generation of synthetic group_by criteria

This should solve multiple deficiencies when a limited prefetch is ordered
by non-local columns (especially pre-multiplied ones). Also intelligently
solves many problems combining distinct with various non-selecting external
order criteria.

Most current behaviors should remain unaffected except for cases of
blatantly incorrect query generation (fingercross)

10 years agofix typo in FATAL ERROR message.
Matt Phillips [Mon, 4 Nov 2013 21:53:47 +0000]
fix typo in FATAL ERROR message.

10 years agoSimplify DBIHacks signatures
Peter Rabbitson [Wed, 30 Oct 2013 15:33:48 +0000]
Simplify DBIHacks signatures

The cross-polination of $attrs and various subparts is becoming a nightmare
to maintain. Straighten up most ::DBIHacks to pass stuff around as a single
$attrs bag (no functional changes, this is a temp-stage cleanup)

The idea is to prepare for an rsattrs object (later on all we will need to
do is replace the hash-grabs with methods, but this requires much more
thought and design, small steps)

Affected signatures in :DBIHacks:
_prune_unused_joins()
_resolve_aliastypes_from_select_args()
_adjust_select_args_for_complex_prefetch()
_extract_fixed_condition_columns()

Not touching to facilitate easier DQ merge (TODO in a sense):
_order_by_is_stable()
_main_source_order_by_portion_is_stable()

10 years agoTemporarily freeze travis SQLT on 0.11016, until the SQLT debacle is resolved
Peter Rabbitson [Thu, 31 Oct 2013 09:55:01 +0000]
Temporarily freeze travis SQLT on 0.11016, until the SQLT debacle is resolved

https://github.com/dbsrgits/sql-translator/pull/26#issuecomment-27472588

10 years agoTest more JSON::Any backends, and reorder the selection in terms of desirability
Peter Rabbitson [Thu, 31 Oct 2013 10:28:49 +0000]
Test more JSON::Any backends, and reorder the selection in terms of desirability

DWIW is the most lax JSON parser and thus is always preferred for CLI work