Add a self-explanatory *compile-time* $ENV{DBIC_SHUFFLE_UNORDERED_RESULTSETS}
authorPeter Rabbitson <ribasushi@cpan.org>
Tue, 17 Jun 2014 10:41:06 +0000 (12:41 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Tue, 17 Jun 2014 20:52:10 +0000 (22:52 +0200)
commit1b658919f5ff67e9ac656daf6642a3bae8cec282
tree52900812925149337f7df1a3b90a001dc89ca03a
parente6ed824bbb02cbe1dfdc18987f468791af228e63
Add a self-explanatory *compile-time* $ENV{DBIC_SHUFFLE_UNORDERED_RESULTSETS}

The idea is to be able to catch tests that rely on a particular order of
the results of ->all. ->next is untouched as injecting extra \'RANDOM'
order clauses is too heavy-handed for a test environment (and besides, having
->all and ->next return stuff in differing order is just as good of a
monkey-wrench)
12 files changed:
lib/DBIx/Class/Storage/DBI/Cursor.pm
lib/DBIx/Class/_Util.pm
t/104view.t
t/71mysql.t
t/73oracle_hq.t
t/746mssql.t
t/88result_set_column.t
t/cdbi/testlib/DBIC/Test/SQLite.pm
t/prefetch/correlated.t
t/prefetch/grouped.t
t/prefetch/via_search_related.t
t/resultset/update_delete.t