Bug #44278 [ReO]: ODBC: nvarchar(max) mangled

From: Date: Thu, 01 Oct 2020 11:21:23 +0000
Subject: Bug #44278 [ReO]: ODBC: nvarchar(max) mangled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229300@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=44278&edit=1 ID: 44278 Updated by: cmb@php.net Reported by: ethan dot nelson at ltd dot org Summary: ODBC: nvarchar(max) mangled Status: Re-Opened Type: Bug -Package: PDO ODBC +Package: ODBC related PHP Version: 7 Block user comment: N Private report: N New Comment: Both attached patches are for ext/odbc, and it seems to me this issue has been resolved for ext/pdo_odbc, so I'm changing the affected package. Previous Comments: ------------------------------------------------------------------------ [2020-02-04 08:56:37] cmb@php.net Related To: Bug #79217 ------------------------------------------------------------------------ [2018-01-22 18:54:44] ab@php.net I see. Naturally bugfixes are checked by the tests, which is also helpful for a review and to ensure future bugfixes don't breach existing behaviors. I was just going through some ODBC related tickets today, so stumbled upon this one. From what is done in the second patch - it is similar to what is going in ext/odbc. The place with the vallen < 0 is however something interesting, namely to know, how the negative length is produced. Perhaps it needs to be done in ext/odbc, too. Anyway, i might check your patch later then and see for tests, as we shouldn't loose the good work. Or perhaps you'll find some time for it. Thanks. ------------------------------------------------------------------------ [2018-01-22 17:56:46] chris at ocproducts dot com It'd take me a few days to get back into this and to the point of writing working PDO tests, I just don't have that kind of time I'm afraid. ------------------------------------------------------------------------ [2018-01-22 16:31:18] ab@php.net @chris at ocproducts dot com, thanks for the patch. Could you also add some tests, please? It concerns both nvarchar and varchar now. Thanks. ------------------------------------------------------------------------ [2017-11-18 11:34:09] cmb@php.net > That other bug ticket is closed To clarify: the ticket is private. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=44278 -- Edit this bug report at https://bugs.php.net/bug.php?id=44278&edit=1

« previous php.bugs (#229300) next »