In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
611 [In-Portal CMS] Data Management bug report always 2010-03-14 14:31 2010-06-10 13:44
alex  
alex  
normal  
closed 5.0.2  
fixed  
 
none 5.0.4-B1  
http://groups.google.com/group/in-portal-dev/browse_thread/thread/b37b3a09c0179861
0
0000611: Show only first N characters of database query output in debugger
I think, that we should show only first N characters of database query output in debugger. This actual for queries made by kDBConnection::GetOne method only. For example whole set of cached configs is placed in debugger each time and makes each debugger report large in size.

I've already using such approach for displaying data, that is retrieved from memcached in 5.1.0.
patch long_sql_output_cut.patch (715) 2010-03-14 14:31
http://tracker.in-portal.org/file_download.php?file_id=356&type=bug
patch long_sql_output_cut_v2.patch (788) 2010-04-06 04:08
http://tracker.in-portal.org/file_download.php?file_id=441&type=bug
Issue History
2010-06-10 13:44 alex Note Added: 0002431
2010-06-10 13:44 alex Status resolved => closed
2010-05-11 03:47 alex Note Added: 0002181
2010-05-11 03:47 alex Status reviewed and tested => resolved
2010-05-11 03:47 alex Fixed in Version => 5.0.4-B1
2010-05-11 03:47 alex Resolution open => fixed
2010-05-11 03:47 alex Assigned To !COMMUNITY => alex
2010-05-11 03:47 alex Changeset attached 5.0.x r13529
2010-04-09 00:47 Dmitry Note Added: 0001835
2010-04-09 00:47 Dmitry Status needs testing => reviewed and tested
2010-04-06 04:08 alex Note Added: 0001815
2010-04-06 04:08 alex Assigned To alex => !COMMUNITY
2010-04-06 04:08 alex Status needs work => needs testing
2010-04-06 04:08 alex File Added: long_sql_output_cut_v2.patch
2010-04-04 23:01 Dmitry Note Added: 0001788
2010-04-04 23:01 Dmitry Assigned To !COMMUNITY => alex
2010-04-04 23:01 Dmitry Status needs testing => needs work
2010-03-14 14:32 alex Assigned To => !COMMUNITY
2010-03-14 14:32 alex Developer => alex
2010-03-14 14:32 alex Status active => needs testing
2010-03-14 14:31 alex New Issue
2010-03-14 14:31 alex File Added: long_sql_output_cut.patch
2010-03-14 14:31 alex Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/b37b3a09c0179861

Notes
(0001788)
Dmitry   
2010-04-04 23:01   
Patch can't be applied as is - there seems to be some changed things.

Please update and reattach for testing.
(0001815)
alex   
2010-04-06 04:08   
Patch "long_sql_output_cut_v2.patch" contains re-created version, that could be applied to 5.0.3 release.
(0001835)
Dmitry   
2010-04-09 00:47   
Tested okay.
(0002181)
alex   
2010-05-11 03:47   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000611: Show only first N characters of database query output in debugger
(0002431)
alex   
2010-06-10 13:44   
Closing since version 5.0.4 is released.