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 204413 - incorrect results when run partial select query
Summary: incorrect results when run partial select query
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 7.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-30 15:01 UTC by medeag
Modified: 2011-10-31 14:11 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 2011-10-30 15:01:16 UTC
Product Version: NetBeans IDE Dev (Build 201110290600)
Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02-384
System: Mac OS X version 10.6.8 running on x86_64; MacRoman; ka_GE (nb)

From specs:
Test case:
1. Open SQL editor.
2. Type some query and select only some part of it (better which also presents valid statement).
3. Run it.

Result should be:
1. Selected statement should be executed and results for this statement should be shown.

 so i have typed:
SELECT * FROM my_table where name="some" and run this it correctly showed me records with name "some", the i selected only SELECT * FROM my_table and run it but it still showed me record with name "some", not all records
Comment 1 Jiri Rechtacek 2011-10-31 14:11:37 UTC
Works for me. If a select a part of SQL command and invoke Run Selection action from popup menu, the only that part is executed. If I invoke Run file (Shift-6 shortcut), whole command it executed. Needed to refine testspec. in this case.