| Anonymous | Login | Signup for a new account | 2010-09-10 10:03 EEST |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ << ] [ >> ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000015 | [qot] general | minor | always | 2009-02-08 13:31 | 2009-02-16 18:09 | ||||
| Reporter | philipp_t | View Status | public | ||||||
| Assigned To | administrator | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | resolved | Product Version | 0.0.4 | ||||||
| Summary | 0000015: BOOLEAN columns are not supported | ||||||||
| Description |
If I extend the example table "orders" with a BOOLEAN column called "shipped" and execute the following query qot --input-file=schema.sql --input-query="SELECT count(*) FROM orders WHERE shipped=0;" --info I get a segmentation fault. Changing the column's type to INT resolves the problem. By the way: Might it be easier to read the database structure from the database directly instead of parsing the schema file? It seems to me that there's an awful lot that can go wrong when parsing this stuff... Philipp |
||||||||
| Additional Information |
CREATE SCHEMA qot_test; USE qot_test; CREATE TABLE clients ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, first_name VARCHAR(255), last_name VARCHAR(255)); CREATE TABLE orders ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, client_id INT NOT NULL, entity VARCHAR(255), amount INT NOT NULL, total INT NOT NULL, shipped BOOLEAN); |
||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.1.1[^] Copyright © 2000 - 2008 Mantis Group |