× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported 2013-10-31T22:15:41Z  · swissarmyknife(*) last modified 2013-11-06T18:50:37Z

Issues with connection clustering on changing databases from the default specified in the server properties


customer request
Dev
Fun Fun
funfun
QA
Sachin Prakash
SachinPrakash
Priority Low
Complexity Unknown
Component Connection Clustering
Version 14.0

 

Version: 14.0.3-14
Build #: 34647
Build Date: 2013-Oct-31 11:30:17 AM
 
Issues with connection clustering on changing databases from the default specified in the server properties

 

Issue 1.

------------

  • Goto File-> Options->Query Analyzer-> PostgreSQL and uncheck Auto Commit
  • Navigate to PostgreSQL 8.4.1 ending at 10.168.11.42 and edit your server properties so that the database is ivan
  • Now Connect to the server and expand the tree.
  • Select the database named sachin and open a new query window 
  • Click on the Rollback and you get an error “Failed to Rollback: Cannot rollback when autoCommit is enabled.”
  • Even if I have unchecked “Autocommit” in the options section for the database (PostgreSQL), I still get error due to autoCommit is enabled.

The problem here is that when the connection for "sachin" db is allocated, autoCommit is not set of "off" for that connection.

Issue 2.

-------------

 

  • Goto File-> Options->Query Analyzer-> PostgreSQL and uncheck Auto Commit
  • Navigate to PostgreSQL 8.4.1 ending at 10.168.11.42 and edit your server properties so that the database is ivan
  • Now Connect to the server and expand the tree.
  • Select the database named ivan and open a new query window 
  • Now change the database in the dropdown to sachin.
  • Click on the Rollback and you get an error “Failed to Rollback: Cannot rollback when autoCommit is enabled.”
  • Even if I have unchecked “Autocommit” in the options section for the database (PostgreSQL), I still get error due to autoCommit is enabled.

Solution:

a) In Query Analyzer, if Autocommit is disabled and user tries to switch DB, display a warning message similar to the one displayed by Informix. See attached screenshot.

b) If user does commits or rollsback and switches DB, then this DB should also be set to autoCommit off.

 

Issue 3.

-------------

  •  One other test case, is the above test case and then right click inside the query window and select Clone Window with Contents
  • The hit the Rollback icon and you get  “Failed to Rollback: Cannot rollback when autoCommit is enabled.”

Solution:

When user clicks on 'Clone Window with Contents' follow the same rule as opening a new Query Analyzer window

Issue 4.

-------------

  • Goto File-> Options->Query Analyzer-> Informix and uncheck Auto Commit
  • Goto Informix 11.5 at 10.168.11.39 and make sure that your Instance has a value as following ol_w2ksrv39/northwind
  • Now connect to the Server, Expand the tree node. Select the database named gui_test
  • Open a query window with guy_test and you can see that in the application menu, you can see that all the options, Auto Commit, Commit and Rollback is disabled. See attached screenshot

 

 

4 attachments

Issue #10673

Closed
Fixed
Resolved 2013-11-05T23:59:35Z
 
 
Completion
No due date
Fixed Build 14.0.3-20/15.0.0-dev-35
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017