Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] << ] >> ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000002 [qot] general crash always 2008-04-30 17:07 2008-06-09 21:30
Reporter mrballcb View Status public  
Assigned To administrator
Priority normal Resolution fixed  
Status resolved   Product Version 0.0.3
Summary 0000002: Segfault if query-file doesn't start with create database and use commands
Description This is for 0.0.3, it's not yet able to be chosen in the Product Version field.

It seems silly that a user wouldn't understand that it's a required part of the sql file, but to make qot more resilient it should gracefully handle the absence of those required parts. qot should do one of two things:
- spit out an error if it encounters a CREATE TABLE before a CREATE DATABASE/SCHEMA and a USE statement
- or silently assume a 'CREATE DATABASE test;' and 'USE test;'.
 
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000007)
administrator (administrator)
2008-04-30 22:02

Thanks for the report.

Actually I focus mainly on the analysis features, that's why some basic things don't get addressed. Such "smoke test" reports are very important to improve the overall reliability of QOT, and I very much appreciate them.
(0000013)
administrator (administrator)
2008-06-09 21:30

The fix will be included into version 0.0.4. There will be a default default schema called "qot_default_schema". This will not only allow to avoid exception but also to perform a sensible processing of the input.

- Issue History
Date Modified Username Field Change
2008-04-30 17:07 mrballcb New Issue
2008-04-30 17:54 mrballcb Issue Monitored: mrballcb
2008-04-30 22:02 administrator Note Added: 0000007
2008-04-30 22:02 administrator Assigned To => administrator
2008-04-30 22:02 administrator Status new => confirmed
2008-04-30 22:13 administrator version 0.0.2 => 0.0.3
2008-06-09 21:30 administrator Note Added: 0000013
2008-06-09 21:30 administrator Status confirmed => resolved
2008-06-09 21:30 administrator Resolution open => fixed


Mantis 1.1.1[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker