Bug #57429 Index Out of Range
Submitted: 13 Oct 2010 13:25 Modified: 13 Oct 2010 13:26
Reporter: Jeff Thurston Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:5.2.29-win32 OS:Windows (7)
Assigned to: CPU Architecture:Any
Tags: Search Replace All

[13 Oct 2010 13:25] Jeff Thurston
Description:
Index was out of range. Must be a non-negative and less than the size of the collection. Parameter name: length

How to repeat:
Loaded a script generated from Microsoft SQL Server Management Studio. Went to replace all occurrences of [ with ` by using the Search and Replace function.

1. Load a script with quite a few occurrences of a character.

2. Select FIND from the top menu and pick Search and Replace.

3. Enter criteria.

4. Press the REPLACE ALL button.

Suggested fix:
Sounds like a coding error. Try using an unsigned index selector or a larger data type.
[13 Oct 2010 13:26] Johannes Taxacher
this is a duplicate of bug #56898