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

List:       pecl-cvs
Subject:    [PECL-CVS] [pecl-database-pdo_ibm] master: The workstation name is the hostname
From:       Calvin Buckley <noreply () php ! net>
Date:       2022-03-21 19:56:49
Message-ID: ZKZeCEYTKKnCowEzFr8yeBCtmSeEM8ZsvdxdoUjXwVs () main ! php ! net
[Download RAW message or body]

Author: Calvin Buckley (NattyNarwhal)
Date: 2022-03-21T16:46:56-03:00

Commit: https://github.com/php/pecl-database-pdo_ibm/commit/959d7cd9e60b7a0d009486eee4173ec40c0219ee
 Raw diff: https://github.com/php/pecl-database-pdo_ibm/commit/959d7cd9e60b7a0d009486eee4173ec40c0219ee.diff


The workstation name is the hostname

It's hard to predict what we'll be running on.

Changed paths:
  M  tests/fvt_client_info.phpt


Diff:

diff --git a/tests/fvt_client_info.phpt b/tests/fvt_client_info.phpt
index 18dbba3..4795ced 100644
--- a/tests/fvt_client_info.phpt
+++ b/tests/fvt_client_info.phpt
@@ -15,6 +15,7 @@ pdo_ibm: Client Info
 			var_dump($this->db->getAttribute(PDO::SQL_ATTR_INFO_USERID));
 			var_dump($this->db->getAttribute(PDO::SQL_ATTR_INFO_ACCTSTR));
 			var_dump($this->db->getAttribute(PDO::SQL_ATTR_INFO_APPLNAME));
+			// This will default to the hostname of the system nowadays.
 			var_dump($this->db->getAttribute(PDO::SQL_ATTR_INFO_WRKSTNNAME));
 		
 			$this->db->setAttribute(PDO::SQL_ATTR_INFO_USERID, "MyUser");
@@ -32,13 +33,13 @@ pdo_ibm: Client Info
 	$testcase = new Test();
 	$testcase->runTest();
 ?>
---EXPECT--
+--EXPECTF--
 Attempting to connect..
 string(0) ""
 string(0) ""
 string(0) ""
-string(0) ""
+string(%d) "%s"
 string(6) "MyUser"
 string(15) "MyAccountString"
 string(5) "MyApp"
-string(13) "MyWorkStation"
\ No newline at end of file
+string(13) "MyWorkStation"

-- 
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