ISQL does not understand inline comment ("--") in CONNECT statement
-------------------------------------------------------------------
Key: CORE-5751
URL: http://tracker.firebirdsql.org/browse/CORE-5751
Project: Firebird Core
Issue Type: Bug
Components: ISQL
Affects Versions: 3.0.3, 2.5.8, 4.0 Alpha 1
Reporter: Pavel Zotov
Correct path and name of test database file and run this script:
===
shell del C:\MIX\firebird\QA\fbt-repo\tmp\tmpfdb.tmp 2>nul;
set list on;
set echo on;
create database 'localhost:C:\MIX\firebird\QA\fbt-repo\tmp\tmpfdb.tmp' user
'SYSDBA' password 'masterkey'
;
drop database;
commit;
create database 'localhost:C:\MIX\firebird\QA\fbt-repo\tmp\tmpfdb.tmp' user
'SYSDBA' password 'masterkey' --
;
commit;
connect 'localhost:C:\MIX\firebird\QA\fbt-repo\tmp\tmpfdb.tmp' user 'SYSDBA'
password 'masterkey' --
;
commit;
connect 'localhost:C:\MIX\firebird\QA\fbt-repo\tmp\tmpfdb.tmp' user 'SYSDBA'
password 'masterkey'
;
drop database;
commit;
===
Output will contain:
===
connect 'localhost:C:\MIX\firebird\QA\fbt-repo\tmp\tmpfdb.tmp' user 'SYSDBA'
password 'masterkey' --
;
Command error: connect 'localhost:C:\MIX\firebird\QA\fbt-repo\tmp\tmpfdb.tmp'
user 'SYSDBA' password 'masterkey' --
commit;
commit;
===
--
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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel