'debugfh'
);
+$schema->storage->debugfh->autoflush(1);
my $rs = $schema->resultset('CD')->search({});
$rs->count();
$line = <$log>;
$log->close();
ok($line =~ /^SELECT COUNT/, 'Log success');
-
$schema->storage->debugobj->debugfh(undef);
delete($ENV{'DBIC_TRACE'});
open(STDERRCOPY, '>&STDERR');