Commit 183bcc70 authored by Alex Muntada's avatar Alex Muntada
Browse files

New upstream version 1.80

parent c20aba47
......@@ -34,7 +34,7 @@ $ prove -lv t/some_test_file.t
$ prove -lvr t/
```
In most cases, 'prove' is entirely sufficent for you to test any
In most cases, 'prove' is entirely sufficient for you to test any
patches you have.
You may need to satisfy some dependencies. The easiest way to satisfy
......@@ -106,6 +106,6 @@ instructions for doing that is available here:
* https://help.github.com/articles/creating-a-pull-request
[distzilla]: http://dzil.org/.
[repository]: https://github.com/pythian/DBD-Oracle/
[bugtracker]: https://github.com/pythian/DBD-Oracle/issues
[repository]: https://github.com/perl5-dbi/DBD-Oracle/
[bugtracker]: https://github.com/perl5-dbi/DBD-Oracle/issues
......@@ -8,14 +8,13 @@ patches, bug reports, help with troubleshooting, etc. A huge
* Aaron Crane
* Alice Maz
* Carsten Grohmann
* cjardine
* Dag Lem
* David E. Wheeler
* David Perry
* David Steinbrunner
* Dean Hamstead
* Dean Hamstead
* Dean Pearce
* Dean Pearce
* gregor herrmann
* Gwen Shapira
......@@ -24,13 +23,11 @@ patches, bug reports, help with troubleshooting, etc. A huge
* Joe Crotty
* jurl
* lbaxter
* Martin J. Evans
* Martin J. Evans
* Michael Portnoy
* Mike O'Regan
* Mike O'Regan
* robert
* StephenCIQG
* Tony Cook
* Wesley Hinds
Revision history for DBD::Oracle
1.80 2019-07-25
[BUG FIXES]
orphaned test code in t/28_array_bind.t - (GH#64, dzort)
Made the code run so it is nolonger orphaned
[MISCELLANEOUS]
Updated bugtracker to git
updated home page to metacpan
1.791 2019-07-22
[BUG FIXES]
Fix Avoid GCC-ism so that HP-UX can compile (GH#92, Dean Hamstead)
Destroy envhp with last dbh (GH#93, GH#89, Dean Hamstead, CarstenGrohmann)
1.76 2018-11-22
No Changes from 1.75, we just botched up publishing to CPAN
......@@ -736,7 +757,7 @@ Changes in DBD-Oracle 1.29_1
* Changes in DBD-Oracle 1.22(svn rev 11618) 1st Aug 2008
Patch to remove compiler warnings from H.Merijn Brand
Patch to Makfile for 64bit boxes from Alex Laslavic
Patch to Makefile for 64bit boxes from Alex Laslavic
Added OCILobGetLength to lob functions from Milo van der Leij
Updated readmes to state the test user has to have create, call and drop a procedure privileges by John Scoles suggested by Gisle Aas
Patch to Makfile to prevent the installation of the lib/DBD/mkta.pl fil from Gisle Aas
......@@ -915,7 +936,7 @@ please enjoy.
Changed ORA_OCI constant from being just 7 or 8 to being a dualvar:
in numeric context returns the major.minor version number (8.1, 9.2 etc)
in string context it returns the full "major.minor.foo.bar" version string.
Changed some SUCCESS_WITH_INFO situtions to be treated as a "warning"
Changed some SUCCESS_WITH_INFO situations to be treated as a "warning"
by setting $DBI::err to "0" (and so trigger PrintWarn in DBI >= 1.43)
eg "ORA-28011: the account will expire soon; change your password now"
and package compilation errors.
......
......@@ -22,7 +22,7 @@ Alternatively, if your CPAN shell is set up, you should just be able to do:
## Manual installation
As a last resort, you can manually install it. Download the tarball, untar it,
then build it:
install configure prerequisites (see below), then build it:
% perl Makefile.PL
% make && make test
......@@ -37,16 +37,36 @@ 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
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.
## Configure Prerequisites
This distribution requires other modules to be installed before this
distribution's installer can be run. They can be found under the
"configure_requires" key of META.yml or the
"{prereqs}{configure}{requires}" key of META.json.
## Other Prerequisites
This distribution may require additional modules to be installed after running
Makefile.PL.
Look for prerequisites in the following phases:
* to run make, PHASE = build
* to use the module code itself, PHASE = runtime
* to run tests, PHASE = test
They can all be found in the "PHASE_requires" key of MYMETA.yml or the
"{prereqs}{PHASE}{requires}" key of MYMETA.json.
## Documentation
DBD-Oracle documentation is available as POD.
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) 2018, 2014, 2013, 2012, 2011, 2010 by Tim Bunce.
This software is copyright (c) 2019, 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) 2018, 2014, 2013, 2012, 2011, 2010 by Tim Bunce.
This software is Copyright (c) 2019, 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) 2018, 2014, 2013, 2012, 2011, 2010 by Tim Bunce.
This software is Copyright (c) 2019, 2014, 2013, 2012, 2011, 2010 by Tim Bunce.
This is free software, licensed under:
......
......@@ -83,31 +83,30 @@
"provides" : {
"DBD::Oracle" : {
"file" : "lib/DBD/Oracle.pm",
"version" : "1.76"
"version" : "1.80"
},
"DBD::Oracle::GetInfo" : {
"file" : "lib/DBD/Oracle/GetInfo.pm",
"version" : "1.76"
"version" : "1.80"
},
"DBD::Oracle::Object" : {
"file" : "lib/DBD/Oracle/Object.pm",
"version" : "1.76"
"version" : "1.80"
}
},
"release_status" : "stable",
"version" : "1.76",
"version" : "1.80",
"x_contributors" : [
"Aaron Crane <arc@cpan.org>",
"Alice Maz <alice@alicemaz.com>",
"Carsten Grohmann <mail@carstengrohmann.de>",
"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>",
......@@ -115,21 +114,19 @@
"Joe Crotty <joe.crotty@returnpath.net>",
"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>",
"Tony Cook <tony@develop-help.com>",
"Wesley Hinds <wesley.hinds@swri.org>"
],
"x_generated_by_perl" : "v5.26.1",
"x_generated_by_perl" : "v5.22.0",
"x_help_wanted" : [
"developer",
"documenter",
"tester"
],
"x_serialization_backend" : "Cpanel::JSON::XS version 4.02"
"x_serialization_backend" : "Cpanel::JSON::XS version 3.0222"
}
......@@ -43,13 +43,13 @@ name: DBD-Oracle
provides:
DBD::Oracle:
file: lib/DBD/Oracle.pm
version: '1.76'
version: '1.80'
DBD::Oracle::GetInfo:
file: lib/DBD/Oracle/GetInfo.pm
version: '1.76'
version: '1.80'
DBD::Oracle::Object:
file: lib/DBD/Oracle/Object.pm
version: '1.76'
version: '1.80'
requires:
DBI: '0'
DynaLoader: '0'
......@@ -57,19 +57,18 @@ requires:
perl: '5.006'
strict: '0'
warnings: '0'
version: '1.76'
version: '1.80'
x_contributors:
- 'Aaron Crane <arc@cpan.org>'
- 'Alice Maz <alice@alicemaz.com>'
- 'Carsten Grohmann <mail@carstengrohmann.de>'
- '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>'
......@@ -77,17 +76,15 @@ x_contributors:
- 'Joe Crotty <joe.crotty@returnpath.net>'
- '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>'
- 'Tony Cook <tony@develop-help.com>'
- 'Wesley Hinds <wesley.hinds@swri.org>'
x_generated_by_perl: v5.26.1
x_generated_by_perl: v5.22.0
x_help_wanted:
- developer
- documenter
- tester
x_serialization_backend: 'YAML::Tiny version 1.73'
x_serialization_backend: 'YAML::Tiny version 1.70'
......@@ -61,12 +61,8 @@ my %opts = (
"ExtUtils::MakeMaker" => 0,
"Test::Simple" => '0.90'},
resources => {
bugtracker => {
mailto => 'bug-dbd-oracle at rt.cpan.org',
web =>
'http://rt.cpan.org/Public/Dist/Display.html?Name=DBD-Oracle',
},
homepage => 'http://search.cpan.org/dist/DBD-Oracle',
bugtracker => 'https://github.com/perl5-dbi/DBD-Oracle/issues',
homepage => 'https://metacpan.org/pod/DBD::Oracle',
repository => {
type => 'git',
url => 'git://github.com/yanick/DBD-Oracle.git',
......@@ -979,6 +975,13 @@ sub find_oracle_home {
@oh = grep { (glob("$_/../lib*/libclntsh.$so*"))[0] } @path;
s:/[^/]/?$:: for @oh;
}
if (!@oh && lc($^O) eq 'linux') { # Try the standard Linux RPM location
my @loh = glob("/usr/lib/oracle/*/*/lib/libclntsh.$so*");
@loh = sort { $a cmp $b } @loh;
my $loh = pop(@loh);
$loh =~ s/\/lib\/libclntsh.*$//g;
push(@oh,$loh);
}
print "Found @oh\n" if @oh;
return $oh[0];
}
......@@ -1691,6 +1694,9 @@ sub get_client_version {
elsif ( "$OH/" =~ m!/10g!) { # scary but handy
$client_version_full = "10.0.0.0";
}
elsif ( "$OH/" =~ m!/usr/lib/oracle/(\d+\.\d)/!) { # Linux RPM
$client_version_full = "$1.0.0";
}
}
if ($force_version && $force_version ne $client_version_full) {
......
......@@ -120,8 +120,8 @@ ub4 ora_blob_read_mb_piece _((SV *sth, imp_sth_t *imp_sth, imp_fbh_t *fbh, SV *
/* other Oracle not in noraml API defines
most of these are largly undocumented XML functions that are in the API but not defined
not noramlly found in the defines the prototypes of OCI functions in most clients
most of these are largely undocumented XML functions that are in the API but not defined
not normally found in the defines the prototypes of OCI functions in most clients
Normally can be found in ociap.h (Oracle Call Interface - Ansi Prototypes
) and ocikp.h (functions in K&R style)
......
......@@ -10,21 +10,21 @@ DBD::Oracle -- an Oracle interface for Perl 5.
AND THEN READ ANY README.* FILES RELEVANT TO YOUR PLATFORM:
README.aix.txt - AIX
README.hpux.txt - HP-UX
README.java.txt - Java/thread problem on Solaris
README.macosx.txt - Mac OS/X
README.win32.txt - MS Windows
README.wingcc.txt - MS Windows using GCC
README.* - see if there's a file for your platform
README.aix.txt - AIX
README.hpux.txt - HP-UX
README.java.txt - Java/thread problem on Solaris
README.macosx.txt - Mac OS/X
README.win32.txt - MS Windows
README.wingcc.txt - MS Windows using GCC
README.* - see if there's a file for your platform
You may find these useful
README.help.txt - Help and hints on build problems
README.sec.txt - Oracle security issues to be aware of
README.login.txt - Help on how to connect to Oracle
README.longs.txt - Help on handling LONGs
README.clients.txt - What Oracle client files you need installed
README.help.txt - Help and hints on build problems
README.sec.txt - Oracle security issues to be aware of
README.login.txt - Help on how to connect to Oracle
README.longs.txt - Help on handling LONGs
README.clients.txt - What Oracle client files you need installed
*** QUICK START GUIDE:
......@@ -57,12 +57,14 @@ DBD::Oracle -- an Oracle interface for Perl 5.
your configuration and DBD::Oracle determine your Oracle version.
For full Oracle installs: that usually includes Pro*C and SQL*Net.
(That's not very specific because it varies between Oracle releases.).
(That's not very specific because it varies between Oracle releases.).
As of release 1.22 support of Oracle clients before 9 was dropped.
The main reason for this is that next few versions of DBD::Oracle will introduce a number of new features
whicht will required a great deal of extra coding to make the OCI 8 work.
As well it is getting harder to find an Oracle client 8 to test against as well
Oracle no longer supports clients before 9.
The main reason for this is that next few versions of DBD::Oracle will
introduce a number of new features which will required a great deal of extra
coding to make the OCI 8 work.
As well it is getting harder to find an Oracle client 8 to test against as
well Oracle no longer supports clients before 9.
The ORACLE_HOME environment variable must point to the Oracle Home
used to create DBD::Oracle. (Not essential under MS Windows).
......@@ -109,10 +111,10 @@ See the oracle_test_dsn() sub in t/nchar_test_lib.pl
The supplied tests will connect to the database using the value of the
ORACLE_USERID environment variable to supply the username/password.
So you should set that to a valid user (e.g. 'scott/tiger') and ensure that
this user has sufficient privileges to create, insert into, select from and
drop a table, is also able to create, call and drop a procedure and is able to select from
systemtables like 'v$sessions'. Using 'system/manager' might work but is not
recommended! See also
this user has sufficient privileges to create, insert into, select from and
drop a table, is also able to create, call and drop a procedure and is able
to select from systemtables like 'v$sessions'. Using 'system/manager' might
work but is not recommended! See also
README.login.txt.
......@@ -136,9 +138,9 @@ It's also important to use the same compiler that was used to build the
Perl you are using.
If you have build/link or core dump problems try:
perl Makefile.PL -p
perl Makefile.PL -p
or
perl Makefile.PL -nob
perl Makefile.PL -nob
If it helps then please let me know (and please include a copy
of the log from the failed default build, the log from the build that
worked, plus the output of the "perl -V" command).
......@@ -178,7 +180,7 @@ Please do NOT post problems to comp.lang.perl.*, perl5-porters@perl.org,
http://www.cpanforum.com/dist/DBD-Oracle, or google groups etc.
If you're *sure* the problem is a bug then you can post a bug report
to http://rt.cpan.org/Public/Dist/Display.html?Name=DBD-Oracle
to https://github.com/perl5-dbi/DBD-Oracle/issues
Problem reports that don't include sufficient detail (including the
information listed below and how to reproduce the problem)
are unlikely to get resolved.
......@@ -224,7 +226,7 @@ dbi-users@perl.org.
5. If you get a core dump, rebuild DBD::Oracle with debugging
enabled by executing: perl Makefile.PL -g (note the -g option)
then rerun the code to get a new core dump file, finally use a
then rerun the code to get a new core dump file, finally use a
debugger (gdb, sdb, dbx, adb etc) to get a stack trace from it.
NOTE: I may not be able to help you much without a stack trace!
It is worth fetching and building the GNU GDB debugger (>=4.15) if
......@@ -252,14 +254,14 @@ directly - use the dbi-users mailing list.
Regards,
Tim.
===============================================================================
================================================================================
Examples and other info:
README.help.txt -- READ IT FIRST IF YOU HAVE ANY PROBLEMS
README.win32.txt -- building DBD::Oracle under MS Windows
README.wingcc.txt -- building DBD::Oracle under MS Windows with gcc
README.macosx.txt -- building DBD::Oracle under MacOS X
README.clients.txt -- building/using DBD::Oracle on minimally configured systems
README.clients.txt -- building/using DBD::Oracle on minimally configured system
README.login.txt -- help for login problems
README.longs.txt -- examples dealing with LONG types (blobs)
......@@ -272,16 +274,16 @@ Perl 4 Oraperl (v2.4) /perl4/oraperl/
Jeff Stander's stuff stands out for Oraperl:
Directories of interest might be
/pub/Oracle/sources
/pub/Oracle/sources/jstander
/pub/Oracle/sources/jstander/distrib
/pub/Oracle/sources/jstander/tsmlib
/pub/Oracle/sources/jstander/wdbex
/pub/Oracle/sources/web/scripts
/pub/Oracle/sources/dba
/pub/Oracle/sources/dba/imp2sql7
/pub/Oracle/sources/Lonnroth
/pub/Oracle/sources/harrison
/pub/Oracle/sources
/pub/Oracle/sources/jstander
/pub/Oracle/sources/jstander/distrib
/pub/Oracle/sources/jstander/tsmlib
/pub/Oracle/sources/jstander/wdbex
/pub/Oracle/sources/web/scripts
/pub/Oracle/sources/dba
/pub/Oracle/sources/dba/imp2sql7
/pub/Oracle/sources/Lonnroth
/pub/Oracle/sources/harrison
http://www.bf.rmit.edu.au/~orafaq/perlish.html
ftp://ftp.bf.rmit.edu.au/pub/perl/db
......@@ -292,7 +294,7 @@ ftp://ftp.bf.rmit.edu.au/pub/Oracle/OS/MS/NT/ntoraperl.zip
DBI and DBD::Oracle are very portable. If Perl and Oracle run on a platform
then the chances are that DBD::Oracle will as well.
===============================================================================
================================================================================
See the large README.help.txt file for lots of hints and advice
about building and runtime issues.
......
......@@ -4,7 +4,7 @@ DBD::Oracle - Oracle database driver for the DBI module
# VERSION
version 1.76
version 1.80
# SYNOPSIS
......@@ -1554,7 +1554,7 @@ In the above example 10 rows will be prefetched up to a maximum of 10000 bytes o
suggests a good row cache value for a scrollable cursor is about 20% of expected size of the record set.
The prefetch settings tell the DBD::Oracle to grab x rows (or x-bytes) when it needs to get new rows. This happens on the first
fetch that sets the current\_positon to any value other than 0. In the above example if we do a OCI\_FETCH\_FIRST the first 10 rows are
fetch that sets the current position to any value other than 0. In the above example if we do a OCI\_FETCH\_FIRST the first 10 rows are
loaded into the buffer and DBD::Oracle will not have to go back to the server for more rows. When record 11 is fetched DBD::Oracle
fetches and returns this row and the next 9 rows are loaded into the buffer. In this case if you fetch backwards from 10 to 1
no server round trips are made.
......@@ -2393,26 +2393,26 @@ The following driver-specific methods are used with scrollable cursors.
OCI_FETCH_RELATIVE, and a fetch offset value of 1 is equivalent to a OCI_FETCH_NEXT.
OCI_FETCH_RELATIVE, and a fetch offset value of -1 is equivalent to a OCI_FETCH_PRIOR.
The effect that a ora\_fetch\_scroll method call has on the current\_positon attribute is detailed below.
The effect that a ora\_fetch\_scroll method call has on the current position attribute is detailed below.
OCI_FETCH_CURRENT, has no effect on the current_positon attribute.
OCI_FETCH_NEXT, increments current_positon attribute by 1
OCI_FETCH_NEXT, when at the last row in the record set does not change current_positon
OCI_FETCH_CURRENT, has no effect on the current position attribute.
OCI_FETCH_NEXT, increments current position attribute by 1
OCI_FETCH_NEXT, when at the last row in the record set does not change current position
attribute, it is equivalent to a OCI_FETCH_CURRENT
OCI_FETCH_FIRST, sets the current_positon attribute to 1.
OCI_FETCH_LAST, sets the current_positon attribute to the total number of rows in the
OCI_FETCH_FIRST, sets the current position attribute to 1.
OCI_FETCH_LAST, sets the current position attribute to the total number of rows in the
record set.
OCI_FETCH_PRIOR, decrements current_positon attribute by 1.
OCI_FETCH_PRIOR, when at the first row in the record set does not change current_positon
OCI_FETCH_PRIOR, decrements current position attribute by 1.
OCI_FETCH_PRIOR, when at the first row in the record set does not change current position
attribute, it is equivalent to a OCI_FETCH_CURRENT.
OCI_FETCH_ABSOLUTE, sets the current_positon attribute to the fetch offset value.
OCI_FETCH_ABSOLUTE, sets the current position attribute to the fetch offset value.
OCI_FETCH_ABSOLUTE, and a fetch offset value that is less than 1 does not change
current_positon attribute, it is equivalent to a OCI_FETCH_CURRENT.
current position attribute, it is equivalent to a OCI_FETCH_CURRENT.
OCI_FETCH_ABSOLUTE, and a fetch offset value that is greater than the number of records in
the record set, does not change current_positon attribute, it is
the record set, does not change current position attribute, it is
equivalent to a OCI_FETCH_CURRENT.
OCI_FETCH_RELATIVE, sets the current_positon attribute to (current_positon attribute +
OCI_FETCH_RELATIVE, sets the current position attribute to (current position attribute +
fetch offset value).
OCI_FETCH_RELATIVE, and a fetch offset value that makes the current position less than 1,
does not change fetch offset value so it is equivalent to a OCI_FETCH_CURRENT.
......@@ -2420,11 +2420,11 @@ The following driver-specific methods are used with scrollable cursors.
in the record set, does not change fetch offset value so it is equivalent
to a OCI_FETCH_CURRENT.
The effects of the differing orientation constants on the first fetch (current\_postion attribute at 0) are as follows.
The effects of the differing orientation constants on the first fetch (current position attribute at 0) are as follows.
OCI_FETCH_CURRENT, dose not fetch a row or change the current_positon attribute.
OCI_FETCH_FIRST, fetches row 1 and sets the current_positon attribute to 1.
OCI_FETCH_LAST, fetches the last row in the record set and sets the current_positon
OCI_FETCH_CURRENT, dose not fetch a row or change the current position attribute.
OCI_FETCH_FIRST, fetches row 1 and sets the current position attribute to 1.
OCI_FETCH_LAST, fetches the last row in the record set and sets the current position
attribute to the total number of rows in the record set.
OCI_FETCH_NEXT, equivalent to a OCI_FETCH_FIRST.
OCI_FETCH_PRIOR, equivalent to a OCI_FETCH_CURRENT.
......@@ -2462,7 +2462,7 @@ method;
print "id=".$value->[0].", First Name=".$value->[1].", Last Name=".$value->[2]."\n";
print "current scroll position=".$sth->ora_scroll_position()."\n";
The current\_positon attribute to will be 20 after this snippet. This is also a way to get the number of rows in the record set, however,
The current position attribute to will be 20 after this snippet. This is also a way to get the number of rows in the record set, however,
if the record set is large this could take some time.
- Fetching the Current Row
......@@ -2471,7 +2471,7 @@ method;
print "id=".$value->[0].", First Name=".$value->[1].", Last Name=".$value->[2]."\n";
print "current scroll position=".$sth->ora_scroll_position()."\n";
The current\_positon attribute will still be 20 after this snippet.
The current position attribute will still be 20 after this snippet.
- Fetching the First Row
......@@ -2479,7 +2479,7 @@ method;
print "id=".$value->[0].", First Name=".$value->[1].", Last Name=".$value->[2]."\n";
print "current scroll position=".$sth->ora_scroll_position()."\n";
The current\_positon attribute will be 1 after this snippet.
The current position attribute will be 1 after this snippet.
- Fetching the Next Row
......@@ -2489,7 +2489,7 @@ method;
}
print "current scroll position=".$sth->ora_scroll_position()."\n";
The current\_positon attribute will be 5 after this snippet.
The current position attribute will be 5 after this snippet.
- Fetching the Prior Row
......@@ -2499,7 +2499,7 @@ method;
}
print "current scroll position=".$sth->ora_scroll_position()."\n";
The current\_positon attribute will be 1 after this snippet.
The current position attribute will be 1 after this snippet.
- Fetching the 10th Row
......@@ -2507,7 +2507,7 @@ method;
print "id=".$value->[0].", First Name=".$value->[1].", Last Name=".$value->[2]."\n";
print "current scroll position=".$sth->ora_scroll_position()."\n";
The current\_positon attribute will be 10 after this snippet.
The current position attribute will be 10 after this snippet.
- Fetching the 10th to 14th Row
......@@ -2517,7 +2517,7 @@ method;
}
print "current scroll position=".$sth->ora_scroll_position()."\n";
The current\_positon attribute will be 14 after this snippet.
The current position attribute will be 14 after this snippet.
- Fetching the 14th to 10th Row
......@@ -2527,7 +2527,7 @@ method;
}
print "current scroll position=".$sth->ora_scroll_position()."\n";
The current\_positon attribute will be 10 after this snippet.
The current position attribute will be 10 after this snippet.
- Fetching the 5th Row From the Present Position.
......@@ -2535,7 +2535,7 @@ method;
print "id=".$value->[0].", First Name=".$value->[1].", Last Name=".$value->[2]."\n";
print "current scroll position=".$sth->ora_scroll_position()."\n";
The current\_positon attribute will be 15 after this snippet.
The current position attribute will be 15 after this snippet.
- Fetching the 9th Row Prior From the Present Position
......@@ -2543,7 +2543,7 @@ method;
print "id=".$value->[0].", First Name=".$value->[1].", Last Name=".$value->[2]."\n";
print "current scroll position=".$sth->ora_scroll_position()."\n";
The current\_positon attribute will be 6 after this snippet.
The current position attribute will be 6 after this snippet.
- Use Finish
......@@ -2570,7 +2570,7 @@ DBD::Oracle now offers three interfaces to LOB and LONG data,
With this interface DBD::Oracle handles your data utilizing LOB Locator OCI calls so it only works with CLOB and BLOB datatypes. With this interface DBD::Oracle takes care of the LOB Locator operations for you.
- ["LOB Locator Method Interface"](#lob-locator-method-interface)
- LOB Locator Method Interface
This allows the user direct access to the LOB Locator methods, so you have to take care of the LOB Locator operations yourself.
......@@ -4253,7 +4253,7 @@ redistribute it and/or modify it under the same terms as Perl 5.