TSQLScript treats ; as ignoring entire rest of file; errors with -- comments
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
When running a script with a single ; on a line by itself, TSQLScript ignores the rest of the script.
The value of CommentsInSQL has no effect on this
See attached test program which should create a firebird embedded database with triggers; instead, no triggers are created.
- When running a script with starting comments --, sqldb query ExecSQL gives an error.
The value of CommentsInSQL has no effect on this (it seems to strip out /* */ comments, not -- comments).
Reproduce: the test program using separately uploaded (on 12 May) createobjects.sql
Mantis conversion info:
- Mantis ID: 26137
- OS: Windows
- OS Build: Windows 7
- Build: 27739
- Platform: x64 (with x86 compiler)
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 27931 (#07626f02)
- Target version: 3.0.0