Issue Details (XML | Word | Printable)

Key: CORE-2831
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Claudio Valderrama C.
Reporter: Claudio Valderrama C.
Votes: 0
Watchers: 0
Operations

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

isql shouldn't display db and user name when extracting a script

Created: 28/Jan/10 07:52 AM   Updated: 26/Apr/13 11:06 AM
Component/s: ISQL
Affects Version/s: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0, 2.0.4, 2.5 Alpha 1, 2.1.1, 2.0.5, 2.1.2, 2.5 Beta 1, 2.5 Beta 2, 2.1.3, 3.0 Initial, 2.5 RC1, 2.5 RC2, 2.0.6, 2.1.4, 3.0 Alpha 1
Fix Version/s: 2.5 RC2, 2.0.6, 2.1.4, 3.0 Alpha 1

Time Tracking:
Not Specified

Environment: platform neutral
Issue Links:
Relate
 

Planning Status: Unspecified


 Description  « Hide
F:\fb2dev\fbbuild\firebird25\temp\Win32\Debug\firebird\bin>isql -x tre.fdb
Database: tre.fdb

SET SQL DIALECT 3;

/* CREATE DATABASE 'tre.fdb' PAGE_SIZE 4096 DEFAULT CHARACTER SET NONE */

[etc]

F:\fb2dev\fbbuild\firebird25\temp\Win32\Debug\firebird\bin>isql -x tre.fdb -user sysdba -pass masterkey
Database: tre.fdb, User: sysdba

SET SQL DIALECT 3;

/* CREATE DATABASE 'tre.fdb' PAGE_SIZE 4096 DEFAULT CHARACTER SET NONE */

[etc]

The database name and user's name are information items that should be deleted before making a script work. Extracting a script should be considered a non-interactive operation (even if sent to the console instead of redirected with -o) and old comments inforce the idea that the user shouldn't be dumped to a script.


 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pavel Cisar added a comment - 26/Apr/13 11:06 AM
Test added.