From b667e25dfb5c2ce1a5290b9d15a2b06b32d3be8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 17 Mar 2014 10:07:53 +0100 Subject: [PATCH] Document problem with current code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- libraries/Error.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libraries/Error.class.php b/libraries/Error.class.php index ab8aae1c84..0553dfb15c 100644 --- a/libraries/Error.class.php +++ b/libraries/Error.class.php @@ -123,6 +123,12 @@ class PMA_Error extends PMA_Message * @param array $backtrace backtrace * * @return void + * + * @todo This function should store only processed backtrace as full + * backtrace requires too much memory (especially with Response + * object included). It could probably store only printable + * representation as created by getBacktraceDisplay or some + * intermediate form. */ public function setBacktrace($backtrace) {