Bug #48984 | Doing a SELECT or EDIT from some tables sometimes doesn't show any data | ||
---|---|---|---|
Submitted: | 23 Nov 2009 10:54 | Modified: | 20 Aug 2010 10:05 |
Reporter: | Ángel Eduardo García Hernández | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench | Severity: | S1 (Critical) |
Version: | 5.2.8 Beta | OS: | MacOS |
Assigned to: | CPU Architecture: | Any |
[23 Nov 2009 10:54]
Ángel Eduardo García Hernández
[23 Nov 2009 10:56]
Ángel Eduardo García Hernández
Forgot to add Version and OS
[23 Nov 2009 14:56]
Johannes Taxacher
Hi, what DB version are you using and what's the DB servers OS (case sensitive filessystem)? I tried to quickly reproduce by creating the given table on a DB ... editing works correctly here.
[23 Nov 2009 15:02]
Ángel Eduardo García Hernández
Sorry, forgot to add that. I know this is a very nasty bug to reproduce, because only happens in a few tables here and I don't get any pattern. Anyway, I'm trying with a server with 20-40 databases, MySQL 5.1.39-8, Ubuntu 9.10 64 bits. Ask if you need anything else, and thank you :)
[23 Nov 2009 15:13]
Ángel Eduardo García Hernández
Re-reading my bug report made me think maybe I didn't express myself clearly. I mean inserting data with any other software than WB, and trying to do a SELECT in WB doesn't show up any results, but you can clearly see results with "mysql" command. I hope this is clearer, and sorry for that :)
[26 Nov 2009 17:12]
Johannes Taxacher
the connection used by a query session is launched with auto-commit off. so you have full transaction support in while query tab. in case you edit your data outside WB you need to send either a commit or a rollback to get the updated data on next execute. please try to invoke commit/rollback either from query menu or by clicking the checkmark or cross icons in main toolbar (tooltips are missing yet for those two). after you sent a commit/rollback you should see the new data coming in upon your next execution of edit/select ...
[26 Nov 2009 17:41]
Ángel Eduardo García Hernández
Yes, it seems that pressing any of that buttons fix the issue. And that explains why ARCHIVE tables doesn't show this behavior. Is any "fix" expected for this? Doing only a SELECT (not an EDIT) should not raise this issue, IMHO. Anyway, lot of thanks!
[27 Nov 2009 11:16]
Johannes Taxacher
you can set the autocommit variable for your session to true yourself by sending: set @@autocommit = 1; to the server. we have not fully tested the effects of doing that when working with resultsets (the edit command) but for single "select sessions" it will behave the way you expected it to do. we'll keep that open as a Feature Request for adding the ability to trigger autocommit from UI or even predefine it in connection profile.
[8 Dec 2009 17:26]
Sergei Tkachenko
I think since #49384 is closed, this one can be closed as well.
[20 Aug 2010 10:05]
Johannes Taxacher
Thank you for your bug report. This issue has already been fixed in the latest released version of that product, which you can download at http://www.mysql.com/downloads/