Issue Details (XML | Word | Printable)

Key: CORE-4667
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Pavel Zotov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Firebird Core

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

Created: 16/Jan/15 05:50 AM   Updated: 16/Jan/15 05:50 AM
Component/s: ISQL
Affects Version/s: None
Fix Version/s: None


 Description  « Hide
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).


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.