Issue Details (XML | Word | Printable)

Key: CORE-3810
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Vlad Khorsun
Reporter: Pavel Zotov
Votes: 0
Watchers: 1
Operations

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

isql: zero divide + coredump when use "-pag 0" command switch & set heading on inside .sql script

Created: 07/Apr/12 03:10 PM   Updated: 23/Apr/13 01:47 PM
Component/s: ISQL
Affects Version/s: 3.0 Initial, 2.5.0, 2.5.1
Fix Version/s: 2.5.2, 3.0 Alpha 1

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive core-isql.zip (2 kB)


Planning Status: Unspecified


 Description  « Hide
input file (`fld.sql`):
-----------
set heading on;
select rdb$field_name from rdb$fields;b
-----------

Try to extract all field names from new database
-- file = 'fld.sql':
create database 't1.fdb'; commit;
exit;

Command:

bash-3.2$ isql t1.fdb -pag 0 -i fld.sql > fld_o.txt
Floating point exception (core dumped)


 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pavel Zotov added a comment - 07/Apr/12 03:15 PM
PS. Please see attach for backtrace details