Bug #5631 Long queries take too long to display
Submitted: 17 Sep 2004 18:20 Modified: 27 Oct 2004 5:19
Reporter: [ name withheld ] Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S1 (Critical)
Version:1.0.7a OS:Linux (Debian/Linux)
Assigned to: Alfredo Kojima CPU Architecture:Any

[17 Sep 2004 18:20] [ name withheld ]
Description:
Long queries take forever to be rendered in the Script panel.

How to repeat:
Dump a database that consists of just a few hundred rows into a file using `mysqldump -e` so that multiple rows get concatenated into a single INSERT query. Then try to open that file with Load Script.
[18 Sep 2004 0:57] Jorge del Conde
The same happens in the Win32 version.
[27 Oct 2004 5:19] Alfredo Kojima
The slowness is caused by the syntax highlighting, which can get very slow with long lines.
I have added a check for long lines and disabled highlighting in such cases.
The backup code from Administrator will also be changed so that it adds linebreaks for every row, which should ameliorate the problem.

The next release will have this fix included.