lemonzone2010 / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

Truncate long SQL #403

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We have some SQL statements which are > 50KB. That makes the SQL statistics 
table hard to read/use.

Please provide an option to truncate SQL when it's longer than N characters.

Optionally, add a "more..." link to show the whole beast.

Original issue reported on code.google.com by adigu...@gmail.com on 11 Apr 2014 at 12:30

GoogleCodeExporter commented 9 years ago
It's done in trunk (revision 3775) and it's ready for the next release (1.51). 
I have chosen to abstract SQL statements when it's longer than 5000 characters. 
And there is a '+' button to see more.
It will be available in the nightly build within 24h.

Thank's for the issue.

Original comment by evernat@free.fr on 19 Apr 2014 at 10:58