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

Summary: history dialog saving query once
Product: db Reporter: medeag
Component: SQL EditorAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

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)