× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
funfun reported 2013-06-19T22:49:25Z  · SachinPrakash last modified 2013-07-12T20:22:36Z

FluidShell history expansion inside SQL statements


Dev
Sachin Prakash
SachinPrakash
QA
Fun Fun
funfun
Priority Low
Complexity Unknown
Component App - FluidShell
Version 14.0

In FluidShell, if an SQL statement similar to the one shown below is executed:
   INSERT INTO tableName(c1, c2) VALUES(1, "Test history expansion!")
this error is generated:
   FluidShell: !"): event not found
 
This is because there is a '!' character embedded in a string quoted by double quotes which triggers history expansion in shell.  We don't have a good solution to solve this problem at the moment, if user runs into this kind of problem, the workaround is to quote string constant using single quotes as:
   INSERT INTO tableName(c1, c2) VALUES(1, 'Test history expansion!')
or to escape '!' using '\!' as:
   INSERT INTO tableName(c1, c2) VALUES(1, "Test history expansion\!")
History expansion won't be performed if '!' is escaped as '\!' or is in a string quoted by single quotes.

1 attachment

Issue #9392

Closed
Fixed
Resolved 2013-07-09T01:37:52Z
 
 
Completion
No due date
Fixed Build 14.0.0-beta-35
No time estimate

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