Skip to content

Commit

Permalink
squelch loud, useless warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Axel 'fREW' Schmidt committed Mar 1, 2014
1 parent c74f107 commit 87b683a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions t/resultset/date-methods-1.t
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,15 @@ run_me(mysql => {

});

local $SIG{__WARN__} = sub {
my $warning = shift;

return if $warning =~
m/DBIx::Class::Storage::DBI::Oracle.*sql_(?:limit_dialect|quote_char)/;

print STDERR $warning;
};

run_me(Oracle => {
engine => 'Oracle',
utc_now => 'sys_extract_utc(SYSTIMESTAMP)',
Expand Down

0 comments on commit 87b683a

Please sign in to comment.