Changes between Version 4 and Version 5 of rfc21_ogrsqlcast
- Timestamp:
- Jan 26, 2008, 1:11:09 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rfc21_ogrsqlcast
v4 v5 56 56 57 57 <data type> ::= character [ ( field_length ) ] 58 | float [ ( field_length ) ] 59 | numeric [ ( field_length [, field_precision ] ) ] 60 | integer [ ( field_length ) ] 61 | timestamp 58 | float [ ( field_length ) ] 59 | numeric [ ( field_length [, field_precision ] ) ] 60 | integer [ ( field_length ) ] 61 | date [ ( field_length ) ] 62 | time [ ( field_length ) ] 63 | timestamp [ ( field_length ) ] 62 64 63 65 <field-func> ::= AVG | MAX | MIN | SUM | COUNT … … 88 90 1. In swq.h I'll have to add to 4 fields to swq_col_def to hold the field_alias the target_type, the field_length, and field_precision 89 91 90 2. In swq.h SWQ_DATE TIMEwill be added to swq_field_type enum.92 2. In swq.h SWQ_DATE, SWQ_TIME, SWQ_TIMESTAMP will be added to swq_field_type enum. 91 93 92 94 3. In swq.c I'll have to change swq_select_preparse to take care of the field alias and the