| Summary: | PostgreSQL : changing connection in SQL Editor with connection comboboxes does not work | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] Data Tools | Reporter: | DUPREZ <cedric.duprez> | ||||||
| Component: | SQL Editor Framework | Assignee: | Brian Payton <bpayton> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | bpayton, pierre.queinnec | ||||||
| Version: | 1.9 | ||||||||
| Target Milestone: | 1.10 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
DUPREZ
Hi, With the last 1.9.0 RC4 version of DTP, the bug seems to be fixed. Sorry for the disturbance. Regards, C. Duprez Sorry, but the bug remains on DTP 1.9.0 RC4... The problem only occurs for manual commit. With auto-commit, the connection is correctly closed, but with manual commit, it remains opened. Actually the bug will happen whatever database system is used (Postgres, etc). Here's a patch that hopefully could fix this. Created attachment 201197 [details]
scrapbook connection patch
Hi, Thanks. I have just installed the last milestone version of DTP (1.9.1 RC2) and the bug is now corrected. Regard, C. Duprez Hi, I don't see any commit related to the patch in DTP_1_9_1_RC2_201108270500 , are you sure you didn't revert to auto-commit? It might completely be an oversight on my part, so sorry if that's the case. Cheers, -- Pierre Created attachment 204569 [details]
Patch in EGit default format
Patch exported without checking Git format in EGit.
Hi guys, can an sqltools committer have a look at the patch? Thank you! OK, I done some basic testing on the fix and it looks like it works OK, in that I was able to switch connections in the SQLScrapbookEditor without problems. I've committed the fix. Here's the Git commit record: http://git.eclipse.org/c/datatools/org.eclipse.datatools.sqltools.git/commit/?id=6b8d926f524dbe205e9fd31ac27c1ba4bfa050e0 |