Bug #69356 [Csd]: PDO debugDumpParams truncate query

From: Date: Thu, 29 Jun 2017 09:52:48 +0000
Subject: Bug #69356 [Csd]: PDO debugDumpParams truncate query
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209727@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69356&edit=1

 ID:                 69356
 Updated by:         adambaratz@php.net
 Reported by:        cn007b at gmail dot com
 Summary:            PDO debugDumpParams truncate query
 Status:             Closed
 Type:               Bug
-Package:            PDO MySQL
+Package:            PDO Core
 Operating System:   Ubuntu 14.04
 PHP Version:        5.5.23
-Assigned To:        
+Assigned To:        adambaratz
 Block user comment: N
 Private report:     N

 New Comment:

php_stream_printf(), which writes these strings to the output buffer, has a maximum length for
strings it interpolates. I switched to php_stream_write() for the query strings to resolve the
issue. The fix was applied starting with PHP 7.0.


Previous Comments:
------------------------------------------------------------------------
[2017-06-29 09:50:02] adambaratz@php.net

Automatic comment on behalf of adambaratz
Revision: http://git.php.net/?p=php-src.git;a=commit;h=08089f014cee7a43fac9ee75d677fcb93c0a5297
Log: Fixed #69356: PDOStatement::debugDumpParams() truncates query

------------------------------------------------------------------------
[2017-06-29 09:49:59] adambaratz@php.net

Automatic comment on behalf of adambaratz
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c8bb64c406cc7a6fd56d7831aabac52f5402677e
Log: Fixed bug #69356

------------------------------------------------------------------------
[2017-06-29 09:43:37] adambaratz@php.net

Automatic comment on behalf of adambaratz
Revision: http://git.php.net/?p=php-src.git;a=commit;h=08089f014cee7a43fac9ee75d677fcb93c0a5297
Log: Fixed #69356: PDOStatement::debugDumpParams() truncates query

------------------------------------------------------------------------
[2017-06-29 09:43:35] adambaratz@php.net

Automatic comment on behalf of adambaratz
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c8bb64c406cc7a6fd56d7831aabac52f5402677e
Log: Fixed bug #69356

------------------------------------------------------------------------
[2017-06-29 09:40:24] adambaratz@php.net

Automatic comment on behalf of adambaratz
Revision: http://git.php.net/?p=php-src.git;a=commit;h=08089f014cee7a43fac9ee75d677fcb93c0a5297
Log: Fixed #69356: PDOStatement::debugDumpParams() truncates query

------------------------------------------------------------------------


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


--
Edit this bug report at https://bugs.php.net/bug.php?id=69356&edit=1


Thread (4 messages)

« previous php.bugs (#209727) next »