ISQL: provide ability of supression output about database when ISQL is called 
without '-I' switch
-------------------------------------------------------------------------------------------------

                 Key: CORE-4667
                 URL: http://tracker.firebirdsql.org/browse/CORE-4667
             Project: Firebird Core
          Issue Type: Improvement
          Components: ISQL
            Reporter: Pavel Zotov
            Priority: Minor


Test-1: create script and call ISQL with switch '-i'
=====

C:\> echo select current_timestamp as get_connect_msg from rdb$database;>ttt.tmp

C:\> isql 192.168.43.62/3330:oltp30 -i ttt.tmp

          GET_CONNECT_MSG
=========================
2015-01-16 08:33:12.0310

(no output "Database:  192.168.43.62/3330:oltp30" on the line above 
'GET_CONNECT_MSG')

Test-2: direct run of ISQL with '-q' and '-now' switches:
======

C:\>  isql 192.168.43.62/3330:oltp30 -q -now
Database:  192.168.43.62/3330:oltp30
SQL>


Test-3: run ECHO command directly on command prompt and use pipe operator ( '|' 
) for sending its result  to ISQL
======

C:\> echo select current_timestamp as get_connect_msg from rdb$database; | isql 
192.168.43.62/3330:oltp30 -q -now

Database:  192.168.43.62/3330:oltp30
SQL>
          GET_CONNECT_MSG
=========================
2015-01-16 08:35:22.7340

It will be useful to have some switch that suppresses displaying of line 
"Database:  192.168.43.62/3330:oltp30"  when no -'input' was specified (in 
order to obtain identical results).


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to