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 137994 - SQL History: Setting number of statements to save doesn't seem to have an effect for newly executed statements
Summary: SQL History: Setting number of statements to save doesn't seem to have an eff...
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:
: 137993 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-23 17:00 UTC by Roman Mostyka
Modified: 2008-07-30 12:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-06-23 17:00:57 UTC
1) Execute a bunch of statements.
2) Open SQL history dialog and set max statements to save to 3.
3) Close SQL history dialog and reopen, you'll see 3 statements.
4) Close SQL history dialog and execute a new statement.
5) Open SQL history dialog.

Result: There are 4 statements in "SQL History" dialog. The oldest statement should have dropped off of the list.
Looks like issue #137786, but it was partly fixed, since now oldest statements are dropped, but anyway, after execution
of new statement history should still contain 3 statements.
Comment 1 Roman Mostyka 2008-06-24 11:32:26 UTC
*** Issue 137993 has been marked as a duplicate of this issue. ***
Comment 2 John Baker 2008-07-29 19:27:00 UTC
This had been fixed as part of the fix for 138847
Comment 3 Roman Mostyka 2008-07-30 12:13:39 UTC
Verified with build 080730.