[svn:dbd-oracle] r15521 - in dbd-oracle/trunk: . lib/DBD lib/DBD/Oracle lib/DBD/Oracle/Troubleshooting t

[email protected] Tue, 18 Dec 2012 08:06:46 -0800 (PST)
Newsgroups perl.dbd.oracle.changes
Message-ID <[email protected]>
Author: yanick
Date: Tue Dec 18 08:06:45 2012
New Revision: 15521

Added:
   dbd-oracle/trunk/t/000-report-versions-tiny.t
Removed:
   dbd-oracle/trunk/t/000-report-versions.t
Modified:
   dbd-oracle/trunk/Changes
   dbd-oracle/trunk/MANIFEST
   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.pod
   dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Aix.pod
   dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Cygwin.pod
   dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Hpux.pod
   dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Linux.pod
   dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Macos.pod
   dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Sun.pod
   dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Vms.pod
   dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Win32.pod
   dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Win64.pod

Log:
Preps for release 1.53_00

Modified: dbd-oracle/trunk/Changes
==============================================================================
--- dbd-oracle/trunk/Changes	(original)
+++ dbd-oracle/trunk/Changes	Tue Dec 18 08:06:45 2012
@@ -3,8 +3,10 @@
 NEXT_VERSION
 
   [BUG FIXES]
+  - Fix RT69350 - 31lob.t was using $lob after destroying its parent $sth 
+        (Rob Davies)
 
-  - fix memory leak in execute_array (John Scoles, Pierre-Alain Blanc)
+  - Fix memory leak in execute_array (John Scoles, Pierre-Alain Blanc)
 
   - Fix RT80349 - The error message in execute_for_fetch when a row fails
     can contain the wrong error count. Thanks to Steffen Goeldner for
@@ -62,6 +64,9 @@
 
   - Removed ineffective commit in 34pres_lobs.t (Martin J. Evans)
 
+  - Remove dead README link in Win32 documentation. (pointed out by Alexandr
+    Ciornii, RT#82040)
+
   - Changed any use of if SvUPGRADE to remove the if test as per email
     from Dave Mitchell and posting at
     http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2012-12/msg00424.html

Modified: dbd-oracle/trunk/MANIFEST
==============================================================================
--- dbd-oracle/trunk/MANIFEST	(original)
+++ dbd-oracle/trunk/MANIFEST	Tue Dec 18 08:06:45 2012
@@ -50,7 +50,7 @@
 oci.def
 oci8.c
 ocitrace.h
-t/000-report-versions.t
+t/000-report-versions-tiny.t
 t/00versions.t
 t/01base.t
 t/10general.t

Modified: dbd-oracle/trunk/META.json
==============================================================================
--- dbd-oracle/trunk/META.json	(original)
+++ dbd-oracle/trunk/META.json	Tue Dec 18 08:06:45 2012
@@ -23,6 +23,11 @@
             "ExtUtils::MakeMaker" : "6.30"
          }
       },
+      "develop" : {
+         "requires" : {
+            "version" : "0.9901"
+         }
+      },
       "runtime" : {
          "requires" : {
             "DBI" : "0",
@@ -41,8 +46,7 @@
             "Devel::Peek" : "0",
             "Encode" : "0",
             "Math::BigInt" : "0",
-            "Scalar::Util" : "0",
-            "Test::More" : "0.94",
+            "Test::More" : "0.88",
             "Thread::Semaphore" : "0",
             "utf8" : "0",
             "vars" : "0"
@@ -52,18 +56,18 @@
    "provides" : {
       "DBD::Oracle" : {
          "file" : "lib/DBD/Oracle.pm",
-         "version" : "1.52"
+         "version" : "1.53_00"
       },
       "DBD::Oracle::GetInfo" : {
          "file" : "lib/DBD/Oracle/GetInfo.pm",
-         "version" : "1.52"
+         "version" : "1.53_00"
       },
       "DBD::Oracle::Object" : {
          "file" : "lib/DBD/Oracle/Object.pm",
-         "version" : "1.52"
+         "version" : "1.53_00"
       }
    },
-   "release_status" : "stable",
+   "release_status" : "testing",
    "resources" : {
       "bugtracker" : {
          "mailto" : "bug-dbd-oracle at rt.cpan.org",
@@ -76,7 +80,7 @@
          "web" : "https://github.com/yanick/DBD-Oracle"
       }
    },
-   "version" : "1.52",
+   "version" : "1.53_00",
    "x_authority" : "cpan:PYTHIAN",
    "x_help_wanted" : [
       "coder",

Modified: dbd-oracle/trunk/META.yml
==============================================================================
--- dbd-oracle/trunk/META.yml	(original)
+++ dbd-oracle/trunk/META.yml	Tue Dec 18 08:06:45 2012
@@ -12,8 +12,7 @@
   Devel::Peek: 0
   Encode: 0
   Math::BigInt: 0
-  Scalar::Util: 0
-  Test::More: 0.94
+  Test::More: 0.88
   Thread::Semaphore: 0
   utf8: 0
   vars: 0
@@ -30,13 +29,13 @@
 provides:
   DBD::Oracle:
     file: lib/DBD/Oracle.pm
-    version: 1.52
+    version: 1.53_00
   DBD::Oracle::GetInfo:
     file: lib/DBD/Oracle/GetInfo.pm
-    version: 1.52
+    version: 1.53_00
   DBD::Oracle::Object:
     file: lib/DBD/Oracle/Object.pm
-    version: 1.52
+    version: 1.53_00
 requires:
   DBI: 0
   DynaLoader: 0
@@ -48,7 +47,7 @@
   bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=DBD-Oracle
   homepage: http://search.cpan.org/dist/DBD-Oracle/
   repository: https://github.com/yanick/DBD-Oracle.git
-version: 1.52
+version: 1.53_00
 x_authority: cpan:PYTHIAN
 x_help_wanted:
   - coder

Modified: dbd-oracle/trunk/README
==============================================================================
--- dbd-oracle/trunk/README	(original)
+++ dbd-oracle/trunk/README	Tue Dec 18 08:06:45 2012
@@ -2,7 +2,7 @@
     DBD::Oracle - Oracle database driver for the DBI module
 
 VERSION
-    version 1.52
+    version 1.53_00
 
 SYNOPSIS
       use DBI;

Modified: dbd-oracle/trunk/README.mkdn
==============================================================================
--- dbd-oracle/trunk/README.mkdn	(original)
+++ dbd-oracle/trunk/README.mkdn	Tue Dec 18 08:06:45 2012
@@ -4,7 +4,7 @@
 
 # VERSION
 
-version 1.52
+version 1.53\_00
 
 # SYNOPSIS
 

Modified: dbd-oracle/trunk/lib/DBD/Oracle.pm
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle.pm	(original)
+++ dbd-oracle/trunk/lib/DBD/Oracle.pm	Tue Dec 18 08:06:45 2012
@@ -12,7 +12,7 @@
 {
 package DBD::Oracle;
 {
-  $DBD::Oracle::VERSION = '1.52';
+  $DBD::Oracle::VERSION = '1.53_00';
 }
 BEGIN {
   $DBD::Oracle::AUTHORITY = 'cpan:PYTHIAN';
@@ -1153,7 +1153,7 @@
 
 =head1 VERSION
 
-version 1.52
+version 1.53_00
 
 =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	Tue Dec 18 08:06:45 2012
@@ -1,6 +1,6 @@
 package DBD::Oracle::GetInfo;
 {
-  $DBD::Oracle::GetInfo::VERSION = '1.52';
+  $DBD::Oracle::GetInfo::VERSION = '1.53_00';
 }
 BEGIN {
   $DBD::Oracle::GetInfo::AUTHORITY = 'cpan:PYTHIAN';
@@ -295,7 +295,7 @@
 
 =head1 VERSION
 
-version 1.52
+version 1.53_00
 
 =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	Tue Dec 18 08:06:45 2012
@@ -1,6 +1,6 @@
 package DBD::Oracle::Object;
 {
-  $DBD::Oracle::Object::VERSION = '1.52';
+  $DBD::Oracle::Object::VERSION = '1.53_00';
 }
 BEGIN {
   $DBD::Oracle::Object::AUTHORITY = 'cpan:PYTHIAN';
@@ -40,7 +40,7 @@
 
 =head1 VERSION
 
-version 1.52
+version 1.53_00
 
 =head1 AUTHORS
 

Modified: dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting.pod
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting.pod	(original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting.pod	Tue Dec 18 08:06:45 2012
@@ -11,7 +11,7 @@
 
 =head1 VERSION
 
-version 1.52
+version 1.53_00
 
 =head1 CONNECTING TO ORACLE
 

Modified: dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Aix.pod
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Aix.pod	(original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Aix.pod	Tue Dec 18 08:06:45 2012
@@ -11,7 +11,7 @@
 
 =head1 VERSION
 
-version 1.52
+version 1.53_00
 
 =head1 Using Visual Age 7 C Compiler 
 

Modified: dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Cygwin.pod
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Cygwin.pod	(original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Cygwin.pod	Tue Dec 18 08:06:45 2012
@@ -11,7 +11,7 @@
 
 =head1 VERSION
 
-version 1.52
+version 1.53_00
 
 =head1 General Info
 

Modified: dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Hpux.pod
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Hpux.pod	(original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Hpux.pod	Tue Dec 18 08:06:45 2012
@@ -11,7 +11,7 @@
 
 =head1 VERSION
 
-version 1.52
+version 1.53_00
 
 =head1 INTRODUCTION
 

Modified: dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Linux.pod
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Linux.pod	(original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Linux.pod	Tue Dec 18 08:06:45 2012
@@ -11,7 +11,7 @@
 
 =head1 VERSION
 
-version 1.52
+version 1.53_00
 
 =head1 Installing with Instantclient .rpm files.
 

Modified: dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Macos.pod
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Macos.pod	(original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Macos.pod	Tue Dec 18 08:06:45 2012
@@ -11,7 +11,7 @@
 
 =head1 VERSION
 
-version 1.52
+version 1.53_00
 
 =head1 General Info 
 

Modified: dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Sun.pod
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Sun.pod	(original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Sun.pod	Tue Dec 18 08:06:45 2012
@@ -11,7 +11,7 @@
 
 =head1 VERSION
 
-version 1.52
+version 1.53_00
 
 =head1 General Info
 

Modified: dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Vms.pod
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Vms.pod	(original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Vms.pod	Tue Dec 18 08:06:45 2012
@@ -11,7 +11,7 @@
 
 =head1 VERSION
 
-version 1.52
+version 1.53_00
 
 =head1 General Info
 

Modified: dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Win32.pod
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Win32.pod	(original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Win32.pod	Tue Dec 18 08:06:45 2012
@@ -11,15 +11,13 @@
 
 =head1 VERSION
 
-version 1.52
+version 1.53_00
 
 =head1 GENERAL INFO
 
 In general, on Windows, it's best to just use ActiveState Perl and the
 PPM package manager to install a pre-built version of DBD::Oracle however only version 1.17 is available there.
 
-If you built Perl with gcc, read README.wingcc.txt as well as this file.
-
 =head1 Oracle Instant Client 11.1.0.6.0 Notes
 
 So far I have managed to get it to Makefile and compile test and install and work.  However it seems one needs to set "NLS_LANG" to a valid value  

Modified: dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Win64.pod
==============================================================================
--- dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Win64.pod	(original)
+++ dbd-oracle/trunk/lib/DBD/Oracle/Troubleshooting/Win64.pod	Tue Dec 18 08:06:45 2012
@@ -11,7 +11,7 @@
 
 =head1 VERSION
 
-version 1.52
+version 1.53_00
 
 =head1 DBD::Oracle and Windows 64bit 
 

Added: dbd-oracle/trunk/t/000-report-versions-tiny.t
==============================================================================
--- (empty file)
+++ dbd-oracle/trunk/t/000-report-versions-tiny.t	Tue Dec 18 08:06:45 2012
@@ -0,0 +1,86 @@
+use strict;
+use warnings;
+use Test::More 0.88;
+# This is a relatively nice way to avoid Test::NoWarnings breaking our
+# expectations by adding extra tests, without using no_plan.  It also helps
+# avoid any other test module that feels introducing random tests, or even
+# test plans, is a nice idea.
+our $success = 0;
+END { $success && done_testing; }
+
+# List our own version used to generate this
+my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08\n";
+
+eval {                     # no excuses!
+    # report our Perl details
+    my $want = '5.006';
+    $v .= "perl: $] (wanted $want) on $^O from $^X\n\n";
+};
+defined($@) and diag("$@");
+
+# Now, our module version dependencies:
+sub pmver {
+    my ($module, $wanted) = @_;
+    $wanted = " (want $wanted)";
+    my $pmver;
+    eval "require $module;";
+    if ($@) {
+        if ($@ =~ m/Can't locate .* in \@INC/) {
+            $pmver = 'module not found.';
+        } else {
+            diag("${module}: $@");
+            $pmver = 'died during require.';
+        }
+    } else {
+        my $version;
+        eval { $version = $module->VERSION; };
+        if ($@) {
+            diag("${module}: $@");
+            $pmver = 'died during VERSION check.';
+        } elsif (defined $version) {
+            $pmver = "$version";
+        } else {
+            $pmver = '<undef>';
+        }
+    }
+
+    # So, we should be good, right?
+    return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n");
+}
+
+eval { $v .= pmver('Carp','any version') };
+eval { $v .= pmver('Config','any version') };
+eval { $v .= pmver('DBI','1.51') };
+eval { $v .= pmver('Data::Dumper','any version') };
+eval { $v .= pmver('Devel::Peek','any version') };
+eval { $v .= pmver('DynaLoader','any version') };
+eval { $v .= pmver('Encode','any version') };
+eval { $v .= pmver('Exporter','any version') };
+eval { $v .= pmver('ExtUtils::MakeMaker','6.30') };
+eval { $v .= pmver('Math::BigInt','any version') };
+eval { $v .= pmver('Test::More','0.88') };
+eval { $v .= pmver('Thread::Semaphore','any version') };
+eval { $v .= pmver('strict','any version') };
+eval { $v .= pmver('utf8','any version') };
+eval { $v .= pmver('vars','any version') };
+eval { $v .= pmver('version','0.9901') };
+eval { $v .= pmver('warnings','any version') };
+
+
+# All done.
+$v .= <<'EOT';
+
+Thanks for using my code.  I hope it works for you.
+If not, please try and include this output in the bug report.
+That will help me reproduce the issue and solve your problem.
+
+EOT
+
+diag($v);
+ok(1, "we really didn't test anything, just reporting data");
+$success = 1;
+
+# Work around another nasty module on CPAN. :/
+no warnings 'once';
+$Template::Test::NO_FLUSH = 1;
+exit 0;