× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
aquaclusters.josekibold reported 2012-10-24T21:36:05Z  · last modified 2012-10-30T15:16:34Z

\sqlexport on erroneous SQL code from sqlbuffer: Exception or Error


Dev
Fun Fun
funfun
QA
Niels Gron
NielsGron
Priority Low
Complexity Unknown
Component App - FluidShell
Version 12.0

When using the \sqlexport command with no tables specified, the SQL command from the sqlbuffer is executed.
If there is a mistake in the SQL command (e.g., invalidselect 123), \sqlexport exits with a Standard Error message in ADStudio 12.0.0 & 12.0.1, however in ADStudio 12 RC 23 in this case the \sqlexport would have thrown an Exception.

Is this change as intended? Or it is only an unwanted consequence because of the improvement made to continue execution in case of specifing multiple tables (e.g., \sqlexport inexistent_table_1 it2 it3)?

The case with the failing SQL command seems more apropiate to be seen as an Exception because the \sqlexport command will having nothing left to work on and therefor it should stop/exit immediately.

Issue #7855

Closed
Fixed
Resolved 2012-10-27T00:31:29Z
 
 
Completion
No due date
No fixed build
No time estimate

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