Skip Menu |

This queue is for tickets about the SQL-Statement CPAN distribution.

Report information
The Basics
Id: 38430
Status: rejected
Priority: 0/
Queue: SQL-Statement

People
Owner: Nobody in particular
Requestors: zrusilla [...] mac.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: SQL::Parser::CREATE - split on comma bug
In SQL::Parser::CREATE, obtaining each field by splitting on the comma breaks where there is a comma in the field definition. The problem arises at line SQL/Parser.pm, line 855: for my $col(split ',',$table_element_def) { for input like ..., my_field NUMBER(15,6), ... I am processing CREATE TABLE statements for ORACLE.
Would be great if you could provide some example code which demonstrates the error. I'm not firm enough in SQL to say without checking if it's simply an unsupported feature ('comma in the field definition') or simply an invalid request for supported SQL dialects.
Feedback timeout.