When we assign values to parameters using the \set or \push commands, it doesn't error out when there is no parameter name. This happens only for parameters that have prefixes.
Ishas-MacBook-Pro:cbq isha$ ./cbq localhost:8093
|
No input credentials. In order to connect to a server with authentication, please provide credentials.
|
Connected to : http://localhost:8093/. Type Ctrl-D or \QUIT to exit.
|
|
Path to history file for the shell : /Users/isha/.cbq_history
|
cbq> \set - f;
|
cbq> \set;
|
Query Parameters :
|
Parameter name :
|
Value : ["f"]
|
|
|
Named Parameters :
|
|
User Defined Session Parameters :
|
|
Predefined Session Parameters :
|
Parameter name : histfile
|
Value : [".cbq_history"]
|
|
Parameter name : batch
|
Value : ["off"]
|
|
|
cbq> \quit;
|