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 223705 - history dialog saving query once
Summary: history dialog saving query once
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-12 09:48 UTC by medeag
Modified: 2012-12-12 10:03 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 medeag 2012-12-12 09:48:55 UTC
I'm trying to update test specification:

old specs says:
1. Open SQL editor.
2. Enter SQL and execute.
3. Repeat step 2 100 times and open SQL History.

noticed: when you run same query for several times in the history dialog you would see it only once. Is this an issue?


Product Version: NetBeans IDE Dev (Build 201212120001)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15
System: Mac OS X version 10.7.5 running on x86_64; US-ASCII; ka_GE (nb)
Comment 1 Jiri Rechtacek 2012-12-12 10:03:10 UTC
(In reply to comment #0)
> I'm trying to update test specification:
> 
> old specs says:
> 1. Open SQL editor.
> 2. Enter SQL and execute.
> 3. Repeat step 2 100 times and open SQL History.
> 
> noticed: when you run same query for several times in the history dialog you
> would see it only once. Is this an issue?
I don't think so. The SQL history checks the previous command and saves it only if they differ. It's common behaviour, check the same case in your Mac console.

> 
> 
> Product Version: NetBeans IDE Dev (Build 201212120001)
> Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
> Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15
> System: Mac OS X version 10.7.5 running on x86_64; US-ASCII; ka_GE (nb)