Description:
I'm trying to load a stored procedure into a MySQL database from a earlier dump taken by exporting all the stored procedure from another database using MySQL WorkBench. I needed to modify the SQL-file slightly to be able to execute it.
When I try to do a search on "/*MYSQLEND" by doing CTRL+F the Workbench crashes when jumping to the first match. And that's why I write this bug report.
----- Developer Notes -----
MySQL Workbench CE for Windows version 5.2.44 revision 9933
Configuration Directory: C:\Users\John\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft (build 9200), 64-bit
CPU: 8x Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz, 16.0 GiB RAM
Current user language: Swedish (Sweden)
Exception = System.ArgumentOutOfRangeException
Message = Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
FullText = System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at System.Windows.Forms.ToolStripItemCollection.get_Item(Int32 index)
at MySQL.Utilities.FindPanel.AddRecentSearchItem()
at MySQL.Utilities.FindPanel.textBox_KeyDown(Object sender, KeyEventArgs e)
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
How to repeat:
1) Have a long stored procedure containing the text "/*MYSQLEND" in the procedures.
2) Do CTRL+F
3) Search for "/*MYSQLEND".
4) When you jump to the first match the Workbench crashes.