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 138631 - First record isn't inserted
Summary: First record isn't inserted
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: _ ahimanikya
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-30 14:57 UTC by Roman Mostyka
Modified: 2008-07-07 12:10 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-30 14:57:04 UTC
1. Execute following statement: 
"CREATE TABLE animals (
     id MEDIUMINT NOT NULL AUTO_INCREMENT,
     name CHAR(30) NOT NULL,
     PRIMARY KEY (id)
 );"
2. Refresh "Tables" node, rightclick animals and choose "View Data".
3. Press "Insert a record." button.
4. Enter string 'dog' for "name" field and click "Execute".

Result: Nothing happens. Dialog disappear, but no record is inserted. Functionality starts to work only from second time.
Comment 1 _ ahimanikya 2008-07-03 04:02:34 UTC
Fixed. 

http://hg.netbeans.org/dbdataview/rev/d8d16c5219c5
Comment 2 Roman Mostyka 2008-07-07 12:10:16 UTC
Verified with build 080707.