Changeset 14427
- Timestamp:
- 05/10/08 12:05:48 (2 months ago)
- Files:
-
- branches/1.5/gdal/ogr/swq.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.5/gdal/ogr/swq.c
r12831 r14427 2154 2154 { 2155 2155 int (FORCE_CDECL *compare_func)(const void *, const void*); 2156 int count ;2157 char **distinct_list ;2156 int count = 0; 2157 char **distinct_list = NULL; 2158 2158 2159 2159 if( select_info->query_mode != SWQM_DISTINCT_LIST … … 2167 2167 select_info->column_defs[0].field_index ) 2168 2168 return "Only selected DISTINCT field can be used for ORDER BY."; 2169 2170 if( select_info->column_summary == NULL ) 2171 return NULL; 2169 2172 2170 2173 if( select_info->column_defs[0].field_type == SWQ_INTEGER )
