Changeset 13705
- Timestamp:
- 02/06/08 06:59:58 (3 months ago)
- Files:
-
- trunk/gdal/ogr/ogrsf_frmts/oci/ogrocisession.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gdal/ogr/ogrsf_frmts/oci/ogrocisession.cpp
r13449 r13705 70 70 hGeometryTDO = NULL; 71 71 hOrdinatesTDO = NULL; 72 hElemInfoTDO = NULL; 72 73 pszUserid = NULL; 73 74 pszPassword = NULL; … … 159 160 hGeometryTDO = PinTDO( SDO_GEOMETRY ); 160 161 if( hGeometryTDO == NULL ) 161 return FALSE; 162 162 { 163 /* If we have no MDSYS.SDO_GEOMETRY then we consider we are 164 working along with the VRT driver and access non spatial tables. 165 See #2202 for more details (Tamas Szekeres)*/ 166 CPLErrorReset(); 167 } 168 else 169 { 163 170 /* -------------------------------------------------------------------- */ 164 171 /* Try to get the MDSYS.SDO_ORDINATE_ARRAY type object. */ 165 172 /* -------------------------------------------------------------------- */ 166 hOrdinatesTDO = PinTDO( "MDSYS.SDO_ORDINATE_ARRAY" );167 if( hOrdinatesTDO == NULL )168 return FALSE;173 hOrdinatesTDO = PinTDO( "MDSYS.SDO_ORDINATE_ARRAY" ); 174 if( hOrdinatesTDO == NULL ) 175 return FALSE; 169 176 170 177 /* -------------------------------------------------------------------- */ 171 178 /* Try to get the MDSYS.SDO_ELEM_INFO_ARRAY type object. */ 172 179 /* -------------------------------------------------------------------- */ 173 hElemInfoTDO = PinTDO( "MDSYS.SDO_ELEM_INFO_ARRAY" );174 if( hElemInfoTDO == NULL )175 return FALSE;176 180 hElemInfoTDO = PinTDO( "MDSYS.SDO_ELEM_INFO_ARRAY" ); 181 if( hElemInfoTDO == NULL ) 182 return FALSE; 183 } 177 184 /* -------------------------------------------------------------------- */ 178 185 /* Record information about the session. */
