Front page | perl.dbd.oracle.changes |
Postings from March 2012
[svn:dbd-oracle] r15206 - in dbd-oracle/trunk: . lib/DBD lib/DBD/Oracle
From:
yanick
Date:
March 8, 2012 12:50
Subject:
[svn:dbd-oracle] r15206 - in dbd-oracle/trunk: . lib/DBD lib/DBD/Oracle
Message ID:
20120308205023.27ACB184AFE@xx12.develooper.com
Author: yanick
Date: Thu Mar 8 12:50:22 2012
New Revision: 15206
Modified:
dbd-oracle/trunk/Changes
dbd-oracle/trunk/META.json
dbd-oracle/trunk/META.yml
dbd-oracle/trunk/README
dbd-oracle/trunk/README.mkdn
dbd-oracle/trunk/lib/DBD/Oracle.pm
dbd-oracle/trunk/lib/DBD/Oracle/GetInfo.pm
dbd-oracle/trunk/lib/DBD/Oracle/Object.pm
dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting.pm
Log:
merge back v1.40 release changes
Mostly versioning and rejuggling of Changelog
Modified: dbd-oracle/trunk/Changes
==============================================================================
--- dbd-oracle/trunk/Changes (original)
+++ dbd-oracle/trunk/Changes Thu Mar 8 12:50:22 2012
@@ -3,12 +3,6 @@
NEXT
[BUG FIXES]
- - TAF supports now conditional to presence of OCI_ATTR_TAF_ENABLED
- [RT73798]
- - detect broken Win32::TieRegistry (patch by Rafael Kitover (Caelum))
- [RT74544]
- - PL/SQL out values were not utf8 encoded [RT74753]
- (Steve Baldwin + Martin J. Evans)
- Applied patch from Rafael Kitover (Caelum) to column_info to handle
DEFAULT columns greater in length than the DBI default of 80. The
DEFAULT column is a long and it is a PITA to have to set
@@ -16,18 +10,30 @@
DBD::Oracle. The default maximum size is now 1Mb; above that you
will still have to set LongReadLen (Martin J. Evans)
+
+ [DOCUMENTATION]
+ - clarification of when StrictlyTyped/DiscardString can be used and
+ LongReadLen (Martin J. Evans)
+
+1.40 2012-03-08
+ - promote 1.39_00 to official release
+
+1.39_00 2012-02-24
+
+ [BUG FIXES]
+ - TAF supports now conditional to presence of OCI_ATTR_TAF_ENABLED
+ [RT73798]
+ - detect broken Win32::TieRegistry (patch by Rafael Kitover (Caelum))
+ [RT74544]
+ - PL/SQL out values were not utf8 encoded [RT74753]
+ (Steve Baldwin + Martin J. Evans)
+
[DOCUMENTATION]
- Mention the release of Oracle Instant Client 64 bit which does not work
on Lion. (Martin J. Evans)
- fix DBD::Oracle::GetInfo blurb (patch by Juli�n Moreno Pati�o) [rt74000]
- fix typos. (patch by Juli�n Moreno Pati�o) [rt73999]
- add troubleshoot doc and diag for error with bequeather. [rt75263]
- - clarification of when StrictlyTyped/DiscardString can be used and
- LongReadLen (Martin J. Evans)
-
- [OTHERS]
- - change the shebang line of examples to the more modern '/usr/bin/env perl'
- [RT74001]
[OTHERS]
- change the shebang line of examples to the more modern '/usr/bin/env perl'
Modified: dbd-oracle/trunk/META.json
==============================================================================
--- dbd-oracle/trunk/META.json (original)
+++ dbd-oracle/trunk/META.json Thu Mar 8 12:50:22 2012
@@ -51,31 +51,31 @@
"provides" : {
"DBD::Oracle" : {
"file" : "lib/DBD/Oracle.pm",
- "version" : "1.38"
+ "version" : "1.40"
},
"DBD::Oracle::GetInfo" : {
"file" : "lib/DBD/Oracle/GetInfo.pm",
- "version" : "1.38"
+ "version" : "1.40"
},
"DBD::Oracle::Object" : {
"file" : "lib/DBD/Oracle/Object.pm",
- "version" : "1.38"
+ "version" : "1.40"
},
"DBD::Oracle::Troubleshooting" : {
"file" : "lib/DBD/Oracle/Troubleshooting.pm",
- "version" : "1.38"
+ "version" : "1.40"
},
"DBD::Oracle::db" : {
"file" : "lib/DBD/Oracle.pm",
- "version" : "1.38"
+ "version" : "1.40"
},
"DBD::Oracle::dr" : {
"file" : "lib/DBD/Oracle.pm",
- "version" : "1.38"
+ "version" : "1.40"
},
"DBD::Oracle::st" : {
"file" : "lib/DBD/Oracle.pm",
- "version" : "1.38"
+ "version" : "1.40"
}
},
"release_status" : "stable",
@@ -91,7 +91,11 @@
"web" : "http://github.com/yanick/DBD-Oracle/tree"
}
},
+<<<<<<< HEAD
"version" : "1.38",
+=======
+ "version" : "1.40",
+>>>>>>> build/master
"x_authority" : "cpan:PYTHIAN"
}
Modified: dbd-oracle/trunk/META.yml
==============================================================================
--- dbd-oracle/trunk/META.yml (original)
+++ dbd-oracle/trunk/META.yml Thu Mar 8 12:50:22 2012
@@ -29,25 +29,25 @@
provides:
DBD::Oracle:
file: lib/DBD/Oracle.pm
- version: 1.38
+ version: 1.40
DBD::Oracle::GetInfo:
file: lib/DBD/Oracle/GetInfo.pm
- version: 1.38
+ version: 1.40
DBD::Oracle::Object:
file: lib/DBD/Oracle/Object.pm
- version: 1.38
+ version: 1.40
DBD::Oracle::Troubleshooting:
file: lib/DBD/Oracle/Troubleshooting.pm
- version: 1.38
+ version: 1.40
DBD::Oracle::db:
file: lib/DBD/Oracle.pm
- version: 1.38
+ version: 1.40
DBD::Oracle::dr:
file: lib/DBD/Oracle.pm
- version: 1.38
+ version: 1.40
DBD::Oracle::st:
file: lib/DBD/Oracle.pm
- version: 1.38
+ version: 1.40
requires:
DBI: 0
DynaLoader: 0
@@ -59,5 +59,5 @@
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=DBD-Oracle
homepage: http://search.cpan.org/dist/DBD-Oracle/
repository: git://github.com/yanick/DBD-Oracle.git
-version: 1.38
+version: 1.40
x_authority: cpan:PYTHIAN
Modified: dbd-oracle/trunk/README
==============================================================================
--- dbd-oracle/trunk/README (original)
+++ dbd-oracle/trunk/README Thu Mar 8 12:50:22 2012
@@ -2,7 +2,7 @@
DBD::Oracle - Oracle database driver for the DBI module
VERSION
- version 1.38
+ version 1.40
SYNOPSIS
use DBI;
@@ -884,7 +884,12 @@
for a statement handle. Should be rarely needed.
LongReadLen
- Implemented by DBI, no driver-specific impact.
+ The maximum size of long or longraw columns to retrieve. If one of these
+ columns is longer than LongReadLen then either a data truncation error
+ will be raised (LongTrunkOk is false) or the column will be silently
+ truncated (LongTruncOk is true).
+
+ DBI currently defaults this to 80.
LongTruncOk
Implemented by DBI, no driver-specific impact.
@@ -1223,7 +1228,11 @@
Datatype codes for non-standard types are subject to change.
- Attention! The DATA_DEFAULT (COLUMN_DEF) column is of type LONG.
+ Attention! The DATA_DEFAULT (COLUMN_DEF) column is of type LONG so you
+ may have to set LongReadLen on the connection handle before calling
+ column_info if you have a large default column. After DBD::Oracle 1.40
+ LongReadLen is set automatically to 1Mb when calling column_info and
+ reset aftwerwards.
The result set is ordered by TABLE_SCHEM, TABLE_NAME, ORDINAL_POSITION.
@@ -1994,9 +2003,8 @@
NOTE: DBD::Oracle does not use the $bind_type to determine how to bind
the column; it uses what Oracle says the data type is. You can however
- set a numeric bind type with the bind attributes
- StrictlyTyped/DiscardString as these attributes are applied after the
- column is retrieved.
+ set the StrictlyTyped/DiscardString attributes and these will take
+ effect as these attributes are applied after the column is retrieved.
See the DBI documentation for a discussion of the optional parameters
"\%attr" and $bind_type
Modified: dbd-oracle/trunk/README.mkdn
==============================================================================
--- dbd-oracle/trunk/README.mkdn (original)
+++ dbd-oracle/trunk/README.mkdn Thu Mar 8 12:50:22 2012
@@ -4,7 +4,7 @@
# VERSION
-version 1.38
+version 1.40
# SYNOPSIS
@@ -953,7 +953,12 @@
## __LongReadLen__
-Implemented by DBI, no driver-specific impact.
+The maximum size of long or longraw columns to retrieve. If one of
+these columns is longer than LongReadLen then either a data truncation
+error will be raised (LongTrunkOk is false) or the column will be
+silently truncated (LongTruncOk is true).
+
+DBI currently defaults this to 80.
## __LongTruncOk__
@@ -1309,7 +1314,11 @@
Datatype codes for non-standard types are subject to change.
-Attention! The DATA_DEFAULT (COLUMN_DEF) column is of type LONG.
+Attention! The DATA_DEFAULT (COLUMN_DEF) column is of type LONG so you
+may have to set LongReadLen on the connection handle before calling
+column_info if you have a large default column. After DBD::Oracle 1.40
+LongReadLen is set automatically to 1Mb when calling column_info and
+reset aftwerwards.
The result set is ordered by TABLE_SCHEM, TABLE_NAME, ORDINAL_POSITION.
@@ -2078,9 +2087,9 @@
NOTE: DBD::Oracle does not use the `$bind_type` to determine how to
bind the column; it uses what Oracle says the data type is. You can
-however set a numeric bind type with the bind attributes
-StrictlyTyped/DiscardString as these attributes are applied after the
-column is retrieved.
+however set the StrictlyTyped/DiscardString attributes and these will
+take effect as these attributes are applied after the column is
+retrieved.
See the DBI documentation for a discussion of the optional parameters `\%attr` and `$bind_type`
@@ -4225,4 +4234,4 @@
This software is copyright (c) 1994 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.
\ No newline at end of file
+the same terms as the Perl 5 programming language system itself.
Modified: dbd-oracle/trunk/lib/DBD/Oracle.pm
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle.pm (original)
+++ dbd-oracle/trunk/lib/DBD/Oracle.pm Thu Mar 8 12:50:22 2012
@@ -12,7 +12,7 @@
{
package DBD::Oracle;
{
- $DBD::Oracle::VERSION = '1.38';
+ $DBD::Oracle::VERSION = '1.40';
}
BEGIN {
$DBD::Oracle::AUTHORITY = 'cpan:PYTHIAN';
@@ -125,7 +125,7 @@
{ package DBD::Oracle::dr;
{
- $DBD::Oracle::dr::VERSION = '1.38';
+ $DBD::Oracle::dr::VERSION = '1.40';
}
BEGIN {
$DBD::Oracle::dr::AUTHORITY = 'cpan:PYTHIAN';
@@ -330,7 +330,7 @@
{ package DBD::Oracle::db;
{
- $DBD::Oracle::db::VERSION = '1.38';
+ $DBD::Oracle::db::VERSION = '1.40';
}
BEGIN {
$DBD::Oracle::db::AUTHORITY = 'cpan:PYTHIAN';
@@ -1059,7 +1059,7 @@
{ package DBD::Oracle::st;
{
- $DBD::Oracle::st::VERSION = '1.38';
+ $DBD::Oracle::st::VERSION = '1.40';
}
BEGIN {
$DBD::Oracle::st::AUTHORITY = 'cpan:PYTHIAN';
@@ -1164,7 +1164,7 @@
=head1 VERSION
-version 1.38
+version 1.40
=head1 SYNOPSIS
Modified: dbd-oracle/trunk/lib/DBD/Oracle/GetInfo.pm
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/GetInfo.pm (original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/GetInfo.pm Thu Mar 8 12:50:22 2012
@@ -1,6 +1,6 @@
package DBD::Oracle::GetInfo;
{
- $DBD::Oracle::GetInfo::VERSION = '1.38';
+ $DBD::Oracle::GetInfo::VERSION = '1.40';
}
BEGIN {
$DBD::Oracle::GetInfo::AUTHORITY = 'cpan:PYTHIAN';
@@ -295,7 +295,7 @@
=head1 VERSION
-version 1.38
+version 1.40
=head1 AUTHORS
Modified: dbd-oracle/trunk/lib/DBD/Oracle/Object.pm
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/Object.pm (original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/Object.pm Thu Mar 8 12:50:22 2012
@@ -1,6 +1,6 @@
package DBD::Oracle::Object;
{
- $DBD::Oracle::Object::VERSION = '1.38';
+ $DBD::Oracle::Object::VERSION = '1.40';
}
BEGIN {
$DBD::Oracle::Object::AUTHORITY = 'cpan:PYTHIAN';
@@ -39,7 +39,7 @@
=head1 VERSION
-version 1.38
+version 1.40
=head1 AUTHORS
Modified: dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting.pm
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting.pm (original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting.pm Thu Mar 8 12:50:22 2012
@@ -1,6 +1,6 @@
package DBD::Oracle::Troubleshooting;
{
- $DBD::Oracle::Troubleshooting::VERSION = '1.38';
+ $DBD::Oracle::Troubleshooting::VERSION = '1.40';
}
BEGIN {
$DBD::Oracle::Troubleshooting::AUTHORITY = 'cpan:PYTHIAN';
@@ -17,7 +17,7 @@
=head1 VERSION
-version 1.38
+version 1.40
=head1 CONNECTING TO ORACLE
-
[svn:dbd-oracle] r15206 - in dbd-oracle/trunk: . lib/DBD lib/DBD/Oracle
by yanick