Bug #60473 Workbench crash

Submitted: 15 Mar 2011 12:44 Modified: 15 May 2011 23:47
Reporter: Zoltarx Zoltarx Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S2 (Serious)
Version:5.2.33 OS:Any
Assigned to: CPU Architecture:Any

[15 Mar 2011 12:44] Zoltarx Zoltarx
Description:
If user name has apostrophe in it, workbench crashes after clicking on it to see details

How to repeat:
Create a new user and change it's name to have at leat one ' sign
[15 Mar 2011 13:41] Valeriy Kravchuk
Thank you for the problem report. What exact version, 5.2.x, do you use?
[15 Mar 2011 15:45] Zoltarx Zoltarx
It's 5.2.33 (latest)
[15 Mar 2011 15:59] Valeriy Kravchuk
Indeed, Workbench generates query like:

SELECT * FROM mysql.user WHERE User='u'1' AND ...

that leads to syntax error and unhandled exception.
[15 May 2011 23:47] Paul DuBois
Noted in 5.2.34 changelog.

Clicking on a user name to obtain details caused Workbench to
crash if the name contained an apostrope.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.