× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported May 27, 2014  · last modified Jun 2, 2014

Sybase ASE: Insert SQL executed twice if Show Explain Plan in enabled


Priority Critical
Complexity Complex
Component Q Analyzer - Visual Explain Plan
Version 14.0
Version: 14.0.14-4
Build #: 38034
Build Date: 2014-May-21 12:49:42 PM
 
Insert statement is executed twice if Show Explain Plan in enabled 
 
To reproduce:
 
1. Under FIle-> Options, set Visual Explain-> Sybase ASE Visual Explain-> Explain Plan TYpe=XML
2. Open a Query Window to Sybase ASE
3. Enable Show Execution Plan
4. Open SQL Log
5. Execute below query
CREATE TABLE TESTTABLE  (
             COLUMN1         varchar(50) NULL
             )
go
 
6. Insert 1 row 
INSERT INTO TESTTABLE  VALUES ('x')
 
7. Execute select * from TESTTABLE
8. You can see that 2 rows are inserted. If you look at SQL Log, you can see that with Show Explain Plan the INSERT statement is executed twice.

 

Issue #12210

Closed
Fixed
Resolved May 30, 2014
 
 
Completion
No due date
Fixed Build 14.0.15
No time estimate

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