[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pecl-cvs
Subject:    [PECL-CVS] com =?UTF-8?Q?pecl/database/ibm=5Fdb=32=3A=20Expect=20test=5F=33=32=31=5F?= =?UTF-8?Q?Res
From:       venkatesh babu ks <vnkbabu () php ! net>
Date:       2019-04-16 7:10:41
Message-ID: php-mail-3f7bca466accb48f1ae7a9e33a769e1b1081337538 () git ! php ! net
[Download RAW message or body]

Commit:    e589e9db2261c80655a8484e9a327f0eee313353
Author:    Kevin Adler <kadler@us.ibm.com>         Fri, 18 Jan 2019 12:55:29 -0600
Committer: Abhinav Radke <aradke@rocketsoftware.com>      Tue, 16 Apr 2019 12:40:41 \
                +0530
Parents:   f448ed6966ad5eb8ff0dd0363b959a75da124cec
Branches:  master

Link:       http://git.php.net/?p=pecl/database/ibm_db2.git;a=commitdiff;h=e589e9db2261c80655a8484e9a327f0eee313353


Log:
Expect test_321_ResultFetchArraysLobsXMLTypes to fail

The code does an SQLGetData, binding as SQL_CLOB_LOCATOR, but
DB2 Connect CLI returns invalid conversion to bind a CLOB to a
locator for some reason:
07006[IBM][CLI Driver] CLI0102E  Invalid conversion. SQLSTATE=07006

The BLOB path works, using SQLGetData with SQL_BLOB_LOCATOR,
so I'm not sure what's wrong with CLOBs. It seems like a bug, but I
can't get it to work and the test predates the CI setup, so just
expect it to fail for now.

Changed paths:
  M  tests/test_321_ResultFetchArraysLobsXMLTypes.phpt


Diff:
diff --git a/tests/test_321_ResultFetchArraysLobsXMLTypes.phpt \
b/tests/test_321_ResultFetchArraysLobsXMLTypes.phpt index de39d8b..80a47b5 100644
--- a/tests/test_321_ResultFetchArraysLobsXMLTypes.phpt
+++ b/tests/test_321_ResultFetchArraysLobsXMLTypes.phpt
@@ -35,6 +35,8 @@ if ($conn) {
 }
 
 ?>
+--XFAIL--
+SQLGetData as a CLOB locator returns conversion error for some reason. Probably a \
                bug, but it predates the CI
 --EXPECT--
 col 0:  type:string xml value:[<?xml version="1.0" encoding="UTF-8" ?><x/>] false?
 col 1:  type:string clob value:[a clob] false?


--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic