From 5bff3c5468fcf25c923a4f91708ccf1fb43f2930 Mon Sep 17 00:00:00 2001 From: v-dareck Date: Thu, 16 Feb 2017 15:25:41 -0800 Subject: [PATCH] Update PHPT comment and script. --- test/sqlsrv/sqlsrv_bind_param_out_string.phpt | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/test/sqlsrv/sqlsrv_bind_param_out_string.phpt b/test/sqlsrv/sqlsrv_bind_param_out_string.phpt index 9829233b..4cb11131 100644 --- a/test/sqlsrv/sqlsrv_bind_param_out_string.phpt +++ b/test/sqlsrv/sqlsrv_bind_param_out_string.phpt @@ -1,5 +1,11 @@ --TEST-- -Verify the Binary and Char encoding output when binding output string with SQLSTYPE option with different size +Verify the Binary and Char encoding output when binding output string with SQLSTYPE option with different size. +--DESCRIPTION-- +Tests different sizes of output string which may cause ODBC to return trunc error info. +With unixODBC 2.3.4, when connection pooling is enabled, error information maybe returned differently +than older versions (or with pooling disabled). +The NVARCHAR(1) section would cause an ODBC call to return an errorinfo to the driver causing the statement to fail. +With unixODBC 2.3.4 + pooling the statement executes without error. --FILE--