[svn:dbd-oracle] r15469 - in dbd-oracle/trunk: . t

[email protected] Fri, 9 Nov 2012 01:48:44 -0800 (PST)
Newsgroups perl.dbd.oracle.changes
Message-ID <[email protected]>
Author: mjevans
Date: Fri Nov  9 01:48:43 2012
New Revision: 15469

Modified:
   dbd-oracle/trunk/Changes
   dbd-oracle/trunk/t/51scroll.t

Log:
another fix from steffen for 51scroll

Modified: dbd-oracle/trunk/Changes
==============================================================================
--- dbd-oracle/trunk/Changes	(original)
+++ dbd-oracle/trunk/Changes	Fri Nov  9 01:48:43 2012
@@ -32,6 +32,10 @@
     instead on pre-9 versions. Thanks to Steffen Goeldner for RT and
     patch.
 
+  - Fix RT80704. 51scroll.t test checks scrollable cursors but assumes
+    all Oracles support them (only 9 and above). Thanks to Steffen
+    Goeldner for RT and patch.
+
   [MISCELLANEOUS]
 
   - The original 26exe_array test was replaced some time ago with a
@@ -43,7 +47,6 @@
   - simple code clean up, replacing 3 uses of safemalloc with Newz
     (John Scoles)
 
-
 1.52      2012-10-19
 
  - promote 1.51_00 to official release

Modified: dbd-oracle/trunk/t/51scroll.t
==============================================================================
--- dbd-oracle/trunk/t/51scroll.t	(original)
+++ dbd-oracle/trunk/t/51scroll.t	Fri Nov  9 01:48:43 2012
@@ -24,6 +24,8 @@
                                                AutoCommit=>1,
                                                PrintError => 0 })};
 if ($dbh) {
+    plan skip_all => "Scrollable cursors new in Oracle 9"
+        if $dbh->func('ora_server_version')->[0] < 9;
     plan tests => 36;
 } else {
     plan skip_all => "Unable to connect to Oracle";