[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=20This=20test=20would=20always?= =?UTF-8?Q?=20
From: Calvin Buckley <calvinb () php ! net>
Date: 2020-11-30 17:03:44
Message-ID: php-mail-20643203989cdccb69045973be98040f709375710 () git ! php ! net
[Download RAW message or body]
Commit: efb58ed72df1ce5cf1b7bdad2b5448fa9ff1b211
Author: Calvin Buckley <calvin@cmpct.info> Mon, 20 Apr 2020 13:00:34 -0300
Parents: 48930db4627dfeb2e05f2a7110dcd2e3fc642e22
Branches: master
Link: http://git.php.net/?p=pecl/database/ibm_db2.git;a=commitdiff;h=efb58ed72df1ce5cf1b7bdad2b5448fa9ff1b211
Log:
This test would always fail because it prints what it doesn't expect
Changed paths:
M tests/test_V6_133_ExecuteLongInputParams.phpt
Diff:
diff --git a/tests/test_V6_133_ExecuteLongInputParams.phpt \
b/tests/test_V6_133_ExecuteLongInputParams.phpt index b73310f..4d4e0bc 100644
--- a/tests/test_V6_133_ExecuteLongInputParams.phpt
+++ b/tests/test_V6_133_ExecuteLongInputParams.phpt
@@ -17,7 +17,7 @@ if (!$conn) {
}
$stmt = db2_prepare($conn, $sql);
-$res = db2_execute($stmt, array(128, 'hacker of human and technological nature', \
'Wez the ruler of all things PECL', 88.3)); +$res = @db2_execute($stmt, array(128, \
'hacker of human and technological nature', 'Wez the ruler of all things PECL', \
88.3)); var_dump($res);
print "SQLSTATE: " . db2_stmt_error($stmt);
print "\nMessage: " . db2_stmt_errormsg($stmt);
@@ -31,5 +31,6 @@ db2_rollback($conn);
?>
--EXPECTF--
-%s(false)
-%sMessage: Value for column or variable NAME too long.
+bool(false)
+SQLSTATE: 22001
+Message: Value for column or variable NAME too long.
--
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