Skip to content

Commit c5dc4a2

Browse files
author
H.Merijn Brand - Tux
committed
Versions and portability
1 parent 5ef4635 commit c5dc4a2

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

ChangeLog

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
0.89 - 08 Sep 2017, H.Merijn Brand
1+
0.89 - 14 Sep 2017, H.Merijn Brand
22
* Implement dictionary introspection in HLI
33
- add $dbh->func ("db_dict")
44
- new tests
55
- introspection now has more information and is about 10 times faster
66
* Make table name used for testing less error-prone
7+
* Versions and portability
78

89
0.88 - 28 Jul 2017, H.Merijn Brand
910
* Tested with perl-5.22 on Linux x64 with DS 9.1B

examples/describe.pl

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/perl
22

3-
use 5.14.2;
3+
use strict;
44
use warnings;
55

6-
our $VERSION = "0.02 - 20170901";
7-
my $cmd = $0 =~ s{.*/}{}r;
6+
our $VERSION = "0.02 - 20170914";
7+
(my $cmd = $0) =~ s{.*/}{};
88

99
sub usage {
1010
my $err = shift and select STDERR;
@@ -81,7 +81,7 @@ sub usage {
8181
$dd->{COLUMN}[$l]{TNAME},
8282
$dd->{COLUMN}[$l]{NAME};
8383
my $ts = $dd->{TABLE}[$dd->{COLUMN}[$l]{TID}]{ANAME};
84-
substr $L, 0, 0, "$ts." if $ts ne $ENV{USCHEMA} // "";
84+
substr $L, 0, 0, "$ts." if $ts ne $ENV{USCHEMA} || "";
8585
substr $L, 0, 0, sprintf "%3d: ", $l if $opt_v;
8686
}
8787

sandbox/genMETA.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
perl: 5.020001
7676
DBI: 1.637
7777
test_recommends:
78-
Test::More: 1.302086
78+
Test::More: 1.302096
7979
resources:
8080
license: http://dev.perl.org/licenses/
8181
repository: https://github.com/perl5-dbi/DBD-Unify

0 commit comments

Comments
 (0)