This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 138073 - SQL History: Tooltip shows wrong statement
Summary: SQL History: Tooltip shows wrong statement
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: John Baker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-24 12:57 UTC by Roman Mostyka
Modified: 2008-08-04 11:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of wrong tooltip. (32.24 KB, image/jpeg)
2008-06-24 12:57 UTC, Roman Mostyka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-06-24 12:57:00 UTC
1. Add Derby and MySQL connection.
2. View data of person table of MySQL DB.
3. View data of person table of Java DB.
4. Open "SQL History".
5. Move cursor to both statements. Tooltip shows right statement.
6. Choose only Derby connection in "Connection" drop down list.
7. Move cursor to the statement.

Result: Tooltip shows MySQL statement, since in the list of all statements it was the first.
Comment 1 Roman Mostyka 2008-06-24 12:57:53 UTC
Created attachment 63327 [details]
Screenshot of wrong tooltip.
Comment 2 John Baker 2008-08-03 08:08:37 UTC
safe fix 
Comment 3 John Baker 2008-08-03 22:30:46 UTC
1c89bf08692b
Comment 4 Quality Engineering 2008-08-04 03:58:16 UTC
Integrated into 'main-golden', available in build *200808040201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/1c89bf08692b
User: John Baker <jbaker@netbeans.org>
Log: #138073 SQL History: Tooltip shows wrong statement
Comment 5 Roman Mostyka 2008-08-04 11:20:05 UTC
Verified with build 080804.