Bug #66390 Find & Replace error
Submitted: 14 Aug 2012 19:58 Modified: 4 Dec 2012 19:20
Reporter: Nahuel Sotelo Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.41 OS:Windows (Microsoft Windows 7 Ultimate Edition Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[14 Aug 2012 19:58] Nahuel Sotelo
Description:
When tyring to replace "#_" with "jos" only the "#" gets replaced. 

----- Developer Notes -----

MySQL Workbench CE for Windows version 5.2.41  revision 9727
Configuration Directory: C:\Users\NiS\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows 7 Ultimate Edition Service Pack 1 (build 7601), 64-bit
CPU: 2x AMD Turion(tm) X2 Dual-Core Mobile RM-72, 3.8 GiB RAM
Active video adapter (0): LogMeIn Mirror Driver
Installed video RAM: 0 MB
Current video mode: 1440 x 900 x 4294967296 colores
Used bit depth: 32
Driver version: 7.1.542.0
Installed display drivers: NULL
Current user language: EspaƱol (Argentina)

How to repeat:
Example:
#__sometable results into jos__sometable when I'm trying to replace "#_" and not only "#", so the result should be "jos_sometable"
[14 Aug 2012 22:09] MySQL Verification Team
Thank you for the bug report. Are you able to type the "_! character in the search text box?. I couldn't only in the replace/find text box. Thanks.
[14 Aug 2012 22:16] Nahuel Sotelo
When I press "_", the cursos moves one position to the right but the character is empty, so " "...

When this happened, I thought that maybe the "_" was there anyway...

Now you mention, maybe the character doesn't get written from scratch and that is causing the problem... just thoughts.
[15 Aug 2012 18:08] Rafael Antonio Bedoy Torres
Verified, using 5.2.42 CE Rev 9752
[4 Dec 2012 19:20] Philip Olson
Fixed as of the upcoming MySQL Workbench 5.2.45, and here's the changelog entry:

Find and Replace would not function properly while using '_' as a
replacement character.

Thank you for the bug report.