Skip to content

Commit

Permalink
minor polish before lighting talk
Browse files Browse the repository at this point in the history
  • Loading branch information
timbunce committed Jul 22, 2010
1 parent 84668e8 commit 6281f91
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions DBDI.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ class DBDI does java::sql::DriverManager {
Str $v3, # java.lang.String
--> java::sql::Connection # java.sql.Connection
) {
say "> getConnection $v1";
my %opt;
my $con = DBDI_pg::Driver.connect($v1, %opt);
say "< getConnection";
return $con;
}

Expand Down
1 change: 1 addition & 0 deletions MANIFEST.SKIP
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@

jdbclib
jdbclib.prev
nytprof*
2 changes: 1 addition & 1 deletion bin/java2perl6api
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ for my $class (sort keys %java_class_info) {
});
$info->{output_filename} = $file_name;
warn "wrote $file_name - $info->{kind} $class\n" if $opt_trace && $file_name;
if ($opt_trace) {
if ($opt_trace >= 2) {
warn "\t uses @{ $info->{refers_to_classes} }\n"
if @{ $info->{refers_to_classes} };
warn "\t used by @{ $info->{referred_to_by_classes} }\n"
Expand Down
2 changes: 0 additions & 2 deletions dbdi.pl6
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ use v6;

use DBDI;

say $_ for (CREATE_HASH_FROM_LOW_LEVEL %Perl6::Module::Loader::LOADED).keys.sort;

my $conninfo = "host=localhost user=testuser password=testpass dbname=zavolaj";

my $con = DBDI.getConnection($conninfo, '', '');
Expand Down
3 changes: 0 additions & 3 deletions jdbclib-classes.txt

This file was deleted.

0 comments on commit 6281f91

Please sign in to comment.