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.
Summary: | Connections with the same name are removed by removing by removing DB with this name | ||
---|---|---|---|
Product: | db | Reporter: | Roman Mostyka <romanmostyka> |
Component: | MySQL | Assignee: | David Vancouvering <davidvc> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | sustaining |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Roman Mostyka
2008-10-15 18:46:35 UTC
I don't believe this is a showstopper, I don't think this is a common scenario. But it's an easy fix, so I will let it be your call. I'll work on a fix. 7d3ae7ed7801 a99b3f12dea2 Check to make sure host name in connection matches host name for MySQL server before deleting connection. Also use IP address as a possibility, and also check to make port number matches. Roman, after further consideration, I don't believe this is a P1 - such that it needs to be integrated into RC branch. But let's definitely get this into patch1. Integrated into 'main-golden', will be available in build *200810160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7d3ae7ed7801 User: David Van Couvering <davidvc@netbeans.org> Log: #150271: Connections with the same name are removed by removing by removing DB with this name Verified with build 081016. I've transplanted the two referred changesets into release65_fixes repository in following way: http://hg.netbeans.org/main/rev/7d3ae7ed7801 as http://hg.netbeans.org/release65_fixes/rev/58be968fe970 http://hg.netbeans.org/main/rev/a99b3f12dea2 as http://hg.netbeans.org/release65_fixes/rev/4b50efb306cb |