Commit c20aba47 authored by Alex Muntada's avatar Alex Muntada
Browse files

New upstream version 1.76

parent 8153dff9
# CONTRIBUTING
Thank you for considering contributing to DBD-Oracle.
This file contains instructions that will help you work with
Thank you for considering contributing to {{ $dist }}.
This file contains instructions that will help you work with
the source code.
## Repository branches structure
......@@ -17,13 +17,13 @@ next section for more details.
* **releases**
Contains the code as it appears on CPAN. Each official
Contains the code as it appears on CPAN. Each official
release is also tagged with its version.
## Working on the master branch
The distribution is managed with [Dist::Zilla][distzilla].
This means than many of the usual files you might expect
This means than many of the usual files you might expect
are not in the repository, but are generated at release time.
However, you can run tests directly using the 'prove' tool:
......@@ -39,12 +39,12 @@ patches you have.
You may need to satisfy some dependencies. The easiest way to satisfy
dependencies is to install the last release -- this is available at
https://metacpan.org/release/DBD-Oracle.
https://metacpan.org/release/{{ $dist }}.
If you use cpanminus, you can do it without downloading the tarball first:
``` bash
$ cpanm --reinstall --installdeps --with-recommends DBD::Oracle
$ cpanm --reinstall --installdeps --with-recommends {{ $dist =~ s/-/::/gr }}
```
Dist::Zilla is a very powerful authoring tool, but requires a number of
......@@ -68,7 +68,7 @@ $ dzil listdeps --author --missing | cpanm
You can also do this via cpanm directly:
``` bash
$ cpanm --reinstall --installdeps --with-develop --with-recommends DBD::Oracle
$ cpanm --reinstall --installdeps --with-develop --with-recommends {{ $dist =~ s/-/::/gr }}
```
Once installed, here are some dzil commands you might try:
......@@ -90,13 +90,13 @@ which corresponds to the code is generated by Dist::Zilla and
correspond to what is uploaded to CPAN.
It won't contain any of the changes brought to the codebase since the last
CPAN release, but for a small patch that shouldn't be a problem.
CPAN release, but for a small patch that shouldn't be a problem.
## Sending Patches
The code for this distribution is hosted on [GitHub][repository].
You can submit bug reports via the [repository's issue track][bugtracker].
You can submit bug reports via the [repository's issue track][bugtracker].
You can also submit code changes by forking the repository, pushing your code
changes to your clone, and then submitting a pull request. Detailed
......
......@@ -4,17 +4,33 @@
This is the (likely incomplete) list of people who have helped
make this distribution what it is, either via code contributions,
patches, bug reports, help with troubleshooting, etc. A huge
thank to all of them.
'thank you' to all of them.
* Aaron Crane
* Alice Maz
* cjardine
* Dag Lem
* David E. Wheeler
* David Perry
* David Steinbrunner
* Dean Hamstead
* Dean Hamstead
* Dean Pearce
* Dean Pearce
* gregor herrmann
* Gwen Shapira
* H.Merijn Brand - Tux
* Jochen Hayek
* Joe Crotty
* jurl
* lbaxter
* Martin J. Evans
* Martin J. Evans
* Michael Portnoy
* Mike O'Regan
* Mike O'Regan
* robert
* StephenCIQG
* Wesley Hinds
* David E. Wheeler <david@justatheory.com>
* David Perry <perry@pythian.com>
* David Steinbrunner <dsteinbrunner@pobox.com>
* Gwen Shapira <shapira@pythian.com>
* Joe Crotty <joe.crotty@returnpath.net>
* Michael Portnoy <portnoy@pythian.com>
* StephenCIQG <StephenCIQG@50811bd7-b8ce-0310-adc1-d9db26280581>
* cjardine <cjardine@50811bd7-b8ce-0310-adc1-d9db26280581>
* gregor herrmann <gregoa@debian.org>
* jurl <jurl@50811bd7-b8ce-0310-adc1-d9db26280581>
* lbaxter <lbaxter@50811bd7-b8ce-0310-adc1-d9db26280581>
* robert <robert@50811bd7-b8ce-0310-adc1-d9db26280581>
Revision history for DBD::Oracle
1.76 2018-11-22
No Changes from 1.75, we just botched up publishing to CPAN
1.75 2018-11-22
No Changes from 1.75_42
1.75_42 2018-08-22
[BUG FIXES]
Fix potential buffer overflow in dbdimp.c - (GH#57, Various)
Fix truncation error on ROWIDs from an Index Organized table as they are
not a fixed length. Code now allows up to a size of 2000.
(GH#31, Martin J. Evans)
Various fixes for compiler warnings, OCI handle leaks, and OCI programming
errors. - (PR#38, Dag Lem)
Corrections to t/25plsql.t - (GH#56, kjetillll)
Fix: Invalid binding call for large undef arrays. - (GH#36, GH ghost)
Fix: compile warnings about int vs long unsigned. - (PR#62, Dean Hamstead)
Fix: Spelling errors in pod. - (PR#63, Jochen Hayek)
Fix: Various changes in pod. - (PR#54, Mike O'Regan)
[ENHANCEMENT]
Connection informational messages like "ORA-28002: the password will
expire" were lost. Thanks to J.D. Laub.
Add new path to find 64 bit Oracle client on MAC OSX - (GH#20, Martin J. Evans)
Ignore constraints which are not enabled in primary/foreign key_info
(GH#23, Martin J. Evans)
dist.init overhaul. - (PR#62, Dean Hamstead)
Mailmap and TODO changes. - (PR#62, Dean Hamstead)
Travis CI testing. - (PR#62, Dean Hamstead)
Note: this uses Oracle XE which doesn't provide enough features to test
the entire suite. Nor does it test anything other than Linux on Linux.
Release tests are also NOT yet run in Travis.
Rewrite of DRCP session pooling to make it work as intended - (PR#38, Dag Lem)
Support for Oracle Fast Application Notification (FAN). - (PR#38, Dag Lem)
Work by Dag Lem was sponsored by EVRY Information Services. Thank you!
1.75_2 2014-11-19
[ENHANCEMENT]
Try and set -l when the build would have failed (H.Merijn Brand)
1.75_1 2014-11-17
[DOCUMENTATION]
Change mentions of READMEs in Makefile.PL to troubleshooting guides.
(GH#17, reported by Ken Williams)
[BUG FIXES]
Fix GH#15 and GH#21 (the same problem). Previous change for
RT91698 broke other things in output parameters.
1.74 2014-04-24
- Promote to stable.
......@@ -14,7 +88,7 @@ Revision history for DBD::Oracle
1.71_00 2014-03-31
- Recognizes __CYGWIN64__. (RT88709, reported by Witold Petriczek)
- CHOOSE hint is deprecated. (RT91217, reported by Andy Bucksch,
- CHOOSE hint is deprecated. (RT91217, reported by Andy Bucksch,
fix by Martin J Evans)
- Set UTF8 flag per-connection. (RT88185, reported by Heinrich Mislik, patch by Martin
J. Evans)
......@@ -28,16 +102,16 @@ Revision history for DBD::Oracle
[IMPROVEMENTS]
- The DSN 'dbi:Oracle:sid=foo' is now an alias for 'dbi:Oracle:foo'.
- The DSN 'dbi:Oracle:sid=foo' is now an alias for 'dbi:Oracle:foo'.
(RT#91775, Yanick Champoux, requested by David Wheeler)
- Support for ORA_SYSBACKUP, ORA_SYSDG and ORA_SYSKM. (RT#91473,
- Support for ORA_SYSBACKUP, ORA_SYSDG and ORA_SYSKM. (RT#91473,
Kris Lemaire)
[BUG FIXES]
- OCI_THREADED setting had been accidentally removed, causing potential
crashes when using threads. (RT#92229, Martin J. Evans, reported
crashes when using threads. (RT#92229, Martin J. Evans, reported
by Detlef Lütticke)
- When using fetch*_hashref the values are decoded but
......@@ -1760,4 +1834,3 @@ please enjoy.
19th Sep 1994: DBperl project renamed to DBI.
29th Sep 1992: DBperl project started.
This is the Perl distribution DBD-Oracle.
Installing DBD-Oracle is straightforward.
......@@ -9,10 +8,10 @@ If you have cpanm, you only need one line:
% cpanm DBD::Oracle
If you are installing into a system-wide directory, you may need to pass the
"-S" flag to cpanm, which uses sudo to install the module:
% cpanm -S DBD::Oracle
If it does not have permission to install modules to the current perl, cpanm
will automatically set up and install to a local::lib in your home directory.
See the local::lib documentation (https://metacpan.org/pod/local::lib) for
details on enabling it in your environment.
## Installing with the CPAN shell
......@@ -32,13 +31,22 @@ Then install it:
% make install
If you are installing into a system-wide directory, you may need to run:
On Windows platforms, you should use `dmake` or `nmake`, instead of `make`.
If your perl is system-managed, you can create a local::lib in your home
directory to install modules to. For details, see the local::lib documentation:
https://metacpan.org/pod/local::lib
% sudo make install
The prerequisites of this distribution will also have to be installed manually. The
prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` generated
by running the manual build process described above.
## Documentation
DBD-Oracle documentation is available as POD.
You can run perldoc from a shell to read the documentation:
You can run `perldoc` from a shell to read the documentation:
% perldoc DBD::Oracle
For more information on installing Perl modules via CPAN, please see:
https://www.cpan.org/modules/INSTALL.html
This software is copyright (c) 1994 by Tim Bunce.
This software is copyright (c) 2018, 2014, 2013, 2012, 2011, 2010 by Tim Bunce.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......@@ -12,7 +12,7 @@ b) the "Artistic License"
--- The GNU General Public License, Version 1, February 1989 ---
This software is Copyright (c) 1994 by Tim Bunce.
This software is Copyright (c) 2018, 2014, 2013, 2012, 2011, 2010 by Tim Bunce.
This is free software, licensed under:
......@@ -272,7 +272,7 @@ That's all there is to it!
--- The Artistic License 1.0 ---
This software is Copyright (c) 1994 by Tim Bunce.
This software is Copyright (c) 2018, 2014, 2013, 2012, 2011, 2010 by Tim Bunce.
This is free software, licensed under:
......
......@@ -12,10 +12,12 @@ Oracle.xs
README
README.help.txt
README.mkdn
Todo
TODO
cpanfile
dbdimp.c
dbdimp.h
dbivport.h
doap.xml
examples/README
examples/bind.pl
examples/commit.pl
......@@ -52,9 +54,13 @@ mkta.pl
oci.def
oci8.c
ocitrace.h
t/000-report-versions-tiny.t
t/00versions.t
t/00-compile.t
t/00-report-prereqs.dd
t/00-report-prereqs.t
t/00dbdoracletestlib.t
t/01base.t
t/02versions.t
t/05base.t
t/10general.t
t/12impdata.t
t/14threads.t
......@@ -87,8 +93,9 @@ t/58object.t
t/60reauth.t
t/70meta.t
t/80ora_charset.t
t/README
t/lib/DBDOracleTestLib.pm
t/lib/ExecuteArray.pm
t/nchar_test_lib.pl
t/rt13865.t
t/rt74753-utf8-encoded.t
t/rt85886.t
......
......@@ -7,25 +7,42 @@
"Martin J. Evans <mjevans@cpan.org>"
],
"dynamic_config" : 0,
"generated_by" : "Dist::Zilla version 5.014, CPAN::Meta::Converter version 2.140640",
"generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
"version" : 2
},
"name" : "DBD-Oracle",
"prereqs" : {
"configure" : {
"requires" : {
"DBI" : "1.51",
"ExtUtils::MakeMaker" : "6.30"
"Config" : "0",
"DBI" : "1.623",
"Data::Dumper" : "0",
"Devel::Peek" : "0",
"Encode" : "0",
"ExtUtils::MakeMaker" : "0",
"Math::BigInt" : "0",
"Test::More" : "0",
"Test::NoWarnings" : "0"
}
},
"develop" : {
"requires" : {
"version" : "0.9901"
"Pod::Coverage::TrustPod" : "0",
"Test::CPAN::Meta" : "0",
"Test::EOF" : "0",
"Test::EOL" : "0",
"Test::Kwalitee" : "1.21",
"Test::More" : "0.88",
"Test::NoBreakpoints" : "0.15",
"Test::NoTabs" : "0",
"Test::Pod" : "1.41",
"Test::Pod::Coverage" : "1.08",
"Test::Portability::Files" : "0"
}
},
"runtime" : {
......@@ -39,14 +56,23 @@
}
},
"test" : {
"recommends" : {
"CPAN::Meta" : "2.120900"
},
"requires" : {
"B" : "0",
"Carp" : "0",
"Data::Dumper" : "0",
"Devel::Peek" : "0",
"Encode" : "0",
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
"IO::Handle" : "0",
"IPC::Open3" : "0",
"Math::BigInt" : "0",
"Test::More" : "0.88",
"Symbol" : "0",
"Test::More" : "0",
"Test::NoWarnings" : "0",
"Thread::Semaphore" : "0",
"lib" : "0",
"utf8" : "0",
......@@ -57,49 +83,53 @@
"provides" : {
"DBD::Oracle" : {
"file" : "lib/DBD/Oracle.pm",
"version" : "1.74"
"version" : "1.76"
},
"DBD::Oracle::GetInfo" : {
"file" : "lib/DBD/Oracle/GetInfo.pm",
"version" : "1.74"
"version" : "1.76"
},
"DBD::Oracle::Object" : {
"file" : "lib/DBD/Oracle/Object.pm",
"version" : "1.74"
"version" : "1.76"
}
},
"release_status" : "stable",
"resources" : {
"bugtracker" : {
"web" : "https://github.com/pythian/DBD-Oracle/issues"
},
"homepage" : "http://search.cpan.org/dist/DBD-Oracle/",
"repository" : {
"type" : "git",
"url" : "https://github.com/pythian/DBD-Oracle.git",
"web" : "https://github.com/pythian/DBD-Oracle"
}
},
"version" : "1.74",
"x_authority" : "cpan:PYTHIAN",
"version" : "1.76",
"x_contributors" : [
"Aaron Crane <arc@cpan.org>",
"Alice Maz <alice@alicemaz.com>",
"cjardine <cjardine@50811bd7-b8ce-0310-adc1-d9db26280581>",
"Dag Lem <dag@nimrod.no>",
"David E. Wheeler <david@justatheory.com>",
"David Perry <perry@pythian.com>",
"David Steinbrunner <dsteinbrunner@pobox.com>",
"Dean Hamstead <dean.hamstead@winc.com.au>",
"Dean Hamstead <djzort@cpan.org>",
"Dean Pearce <deanpearce@gmail.com>",
"Dean Pearce <pearce@pythian.com>",
"gregor herrmann <gregoa@debian.org>",
"Gwen Shapira <shapira@pythian.com>",
"H.Merijn Brand - Tux <h.m.brand@xs4all.nl>",
"Jochen Hayek <jochen.hayek@ext.eex.com>",
"Joe Crotty <joe.crotty@returnpath.net>",
"Michael Portnoy <portnoy@pythian.com>",
"StephenCIQG <StephenCIQG@50811bd7-b8ce-0310-adc1-d9db26280581>",
"cjardine <cjardine@50811bd7-b8ce-0310-adc1-d9db26280581>",
"gregor herrmann <gregoa@debian.org>",
"jurl <jurl@50811bd7-b8ce-0310-adc1-d9db26280581>",
"lbaxter <lbaxter@50811bd7-b8ce-0310-adc1-d9db26280581>",
"robert <robert@50811bd7-b8ce-0310-adc1-d9db26280581>"
"Martin J. Evans <github@virginmedia.com>",
"Martin J. Evans <mjegh@virginmedia.com>",
"Michael Portnoy <portnoy@pythian.com>",
"Mike O'Regan <moregan@football.flr.follett.com>",
"Mike O'Regan <moregan@stresscafe.com>",
"robert <robert@50811bd7-b8ce-0310-adc1-d9db26280581>",
"StephenCIQG <StephenCIQG@50811bd7-b8ce-0310-adc1-d9db26280581>",
"Wesley Hinds <wesley.hinds@swri.org>"
],
"x_generated_by_perl" : "v5.26.1",
"x_help_wanted" : [
"developer",
"documenter",
"tester"
]
],
"x_serialization_backend" : "Cpanel::JSON::XS version 4.02"
}
......@@ -11,17 +11,30 @@ build_requires:
Data::Dumper: '0'
Devel::Peek: '0'
Encode: '0'
ExtUtils::MakeMaker: '0'
File::Spec: '0'
IO::Handle: '0'
IPC::Open3: '0'
Math::BigInt: '0'
Test::More: '0.88'
Symbol: '0'
Test::More: '0'
Test::NoWarnings: '0'
Thread::Semaphore: '0'
lib: '0'
utf8: '0'
vars: '0'
configure_requires:
DBI: '1.51'
ExtUtils::MakeMaker: '6.30'
Config: '0'
DBI: '1.623'
Data::Dumper: '0'
Devel::Peek: '0'
Encode: '0'
ExtUtils::MakeMaker: '0'
Math::BigInt: '0'
Test::More: '0'
Test::NoWarnings: '0'
dynamic_config: 0
generated_by: 'Dist::Zilla version 5.014, CPAN::Meta::Converter version 2.140640'
generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
......@@ -30,13 +43,13 @@ name: DBD-Oracle
provides:
DBD::Oracle:
file: lib/DBD/Oracle.pm
version: '1.74'
version: '1.76'
DBD::Oracle::GetInfo:
file: lib/DBD/Oracle/GetInfo.pm
version: '1.74'
version: '1.76'
DBD::Oracle::Object:
file: lib/DBD/Oracle/Object.pm
version: '1.74'
version: '1.76'
requires:
DBI: '0'
DynaLoader: '0'
......@@ -44,26 +57,37 @@ requires:
perl: '5.006'
strict: '0'
warnings: '0'
resources:
bugtracker: https://github.com/pythian/DBD-Oracle/issues
homepage: http://search.cpan.org/dist/DBD-Oracle/
repository: https://github.com/pythian/DBD-Oracle.git
version: '1.74'
x_authority: cpan:PYTHIAN
version: '1.76'
x_contributors:
- 'Aaron Crane <arc@cpan.org>'
- 'Alice Maz <alice@alicemaz.com>'
- 'cjardine <cjardine@50811bd7-b8ce-0310-adc1-d9db26280581>'
- 'Dag Lem <dag@nimrod.no>'
- 'David E. Wheeler <david@justatheory.com>'
- 'David Perry <perry@pythian.com>'
- 'David Steinbrunner <dsteinbrunner@pobox.com>'
- 'Dean Hamstead <dean.hamstead@winc.com.au>'
- 'Dean Hamstead <djzort@cpan.org>'
- 'Dean Pearce <deanpearce@gmail.com>'
- 'Dean Pearce <pearce@pythian.com>'
- 'gregor herrmann <gregoa@debian.org>'
- 'Gwen Shapira <shapira@pythian.com>'
- 'H.Merijn Brand - Tux <h.m.brand@xs4all.nl>'
- 'Jochen Hayek <jochen.hayek@ext.eex.com>'
- 'Joe Crotty <joe.crotty@returnpath.net>'
- 'Michael Portnoy <portnoy@pythian.com>'
- 'StephenCIQG <StephenCIQG@50811bd7-b8ce-0310-adc1-d9db26280581>'
- 'cjardine <cjardine@50811bd7-b8ce-0310-adc1-d9db26280581>'
- 'gregor herrmann <gregoa@debian.org>'
- 'jurl <jurl@50811bd7-b8ce-0310-adc1-d9db26280581>'
- 'lbaxter <lbaxter@50811bd7-b8ce-0310-adc1-d9db26280581>'
- 'Martin J. Evans <github@virginmedia.com>'
- 'Martin J. Evans <mjegh@virginmedia.com>'
- 'Michael Portnoy <portnoy@pythian.com>'
- "Mike O'Regan <moregan@football.flr.follett.com>"
- "Mike O'Regan <moregan@stresscafe.com>"
- 'robert <robert@50811bd7-b8ce-0310-adc1-d9db26280581>'
- 'StephenCIQG <StephenCIQG@50811bd7-b8ce-0310-adc1-d9db26280581>'
- 'Wesley Hinds <wesley.hinds@swri.org>'
x_generated_by_perl: v5.26.1
x_help_wanted:
- developer
- documenter
- tester
x_serialization_backend: 'YAML::Tiny version 1.73'
## Makefile.PL for DBD::Oracle - see README file for more information.
# Copyright (c) 1994-2006 Tim Bunce. Ireland.
# Copyright (c) 2006-2008 John Scoles (The Pythian Group). Canada.
......@@ -18,7 +17,7 @@ use Pod::Usage;
# For those not using Dynamic loading this means building a
# new static perl in the DBI directory by saying 'make perl'
# and then using _that_ perl to make this one.
use DBI 1.51;
use DBI 1.623;
use DBI::DBD; # DBD creation tools
......@@ -32,10 +31,8 @@ BEGIN {
use VMS::Filespec;
1;
} or die $@;
}
my $dbi_arch_dir = dbd_dbi_arch_dir();
my $so = $Config{so}; # typically 'so', 'dylib' on Darwin/OSX
my $osvers = $Config{osvers}; $osvers =~ s/^\s*(\d+\.\d+).*/$1/; # drop sub-sub-version: 2.5.1 -> 2.5
......@@ -48,7 +45,7 @@ my %opts = (
NAME => 'DBD::Oracle',
VERSION_FROM => 'lib/DBD/Oracle.pm',
PREREQ_PM => { "Test::Simple" => 0.90, # actually Test::More pkg in T::S dist
"DBI" => 1.51},
"DBI" => 1.623},
OBJECT => '$(O_FILES)',
DEFINE => '',
DIR => [],
......@@ -59,14 +56,14 @@ my %opts = (
COMPRESS => 'gzip -v9', SUFFIX => 'gz',
},
META_MERGE => {
configure_requires => { "DBI" => '1.51' },
build_requires => {"DBI" => '1.51',
configure_requires => { "DBI" => '1.623' },
build_requires => {"DBI" => '1.623',
"ExtUtils::MakeMaker" => 0,
"Test::Simple" => '0.90'},
resources => {
bugtracker => {
mailto => 'bug-dbd-oracle at rt.cpan.org',
web =>
web =>
'http://rt.cpan.org/Public/Dist/Display.html?Name=DBD-Oracle',
},
homepage => 'http://search.cpan.org/dist/DBD-Oracle',
......@@ -84,7 +81,7 @@ $eumm =~ tr/_//d;
if ($eumm >= 5.43) {
$opts{AUTHOR} = 'Tim Bunce (dbi-users@perl.org)';
$opts{ABSTRACT_FROM} = 'lib/DBD/Oracle.pm';
$opts{PREREQ_PM} = { DBI => 1.51 };
$opts{PREREQ_PM} = { DBI => 1.623 };
$opts{CAPI} = 'TRUE' if $Config{archname} =~ /-object\b/i;
}
......@@ -219,12 +216,17 @@ if ($::opt_W) {
# --- Introduction
print qq{
print <<"END_BLURB" unless $::opt_s;
Configuring DBD::Oracle for perl $] on $^O ($Config{archname})
Remember to actually *READ* the README file! Especially if you have any problems.