Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISQL: provide ability of supression output about database when ISQL is called without '-I' switch [CORE4667] #4978

Open
firebird-issue-importer opened this issue Jan 16, 2015 · 0 comments

Comments

@firebird-issue-importer

Submitted by: @pavel-zotov

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant