Opened 16 years ago

Closed 16 years ago

#514 closed enhancement (fixed)

Fixed various FDO issues: geometries leaking, invalid casts

Reported by: romicadascalescu Owned by: romicadascalescu
Priority: major Milestone: 3.5.0
Component: FDO API Version: 3.4.0
Severity: 3 Keywords:
Cc: External ID:

Description

Fixed various FDO issues:

  • geometries leaking
  • invalid casts
  • close resource handlers
  • fixed some copy/paste issues, e.g. EXCEPTION_HANDLER(exist = (!!(value == nullptr ? nullptr : value->GetImpObj())))

replaced with

EXCEPTION_HANDLER(exist = (!GetImpObj()->Contains(value == nullptr ? nullptr : value->GetImpObj())))

Change History (1)

comment:1 by romicadascalescu, 16 years ago

Resolution: fixed
Status: newclosed

Changed Files:

  • Fixed default value vs. NULL


Fdo\Unmanaged\Src\Fdo\Schema\DataPropertyDefinition.cpp

  • fixed copy-paste issues and cast issues


Fdo\Managed\Src\OSGeo\Common\Xml\mgXmlReader.cpp
Providers\GenericRdbms\Managed\Src\OSGeo\FDO\Providers\Rdbms\Override\MySQL\mgOvDataPropertyDefinitionCollection.cpp
Providers\GenericRdbms\Managed\Src\OSGeo\FDO\Providers\Rdbms\Override\MySQL\mgOvObjectPropertyDefinition.cpp
Providers\GenericRdbms\Managed\Src\OSGeo\FDO\Providers\Rdbms\Override\MySQL\mgOvPropertyDefinitionCollection.cpp
Providers\GenericRdbms\Managed\Src\OSGeo\FDO\Providers\Rdbms\Override\MySQL\mgOvObjectPropertyDefinition.h
Providers\GenericRdbms\Managed\Src\OSGeo\FDO\Providers\Rdbms\Override\ODBC\mgOvPropertyDefinitionCollection.cpp \Providers\GenericRdbms\Managed\Src\OSGeo\FDO\Providers\Rdbms\Override\SQLServerSpatial\mgOvObjectPropertyDefinition.cpp \Providers\GenericRdbms\Managed\Src\OSGeo\FDO\Providers\Rdbms\Override\SQLServerSpatial\mgOvPropertyDefinitionCollection.cpp

  • fixed free loaded library for messages


Fdo\Unmanaged\Src\Common\Exception.cpp
Fdo\Unmanaged\Src\Nls\msg_get.c
Fdo\Unmanaged\Src\Nls\Inc\nls.h

  • Fixed FDO leaks geometries and byte arrays


Fdo\Unmanaged\Src\Common\ArrayHelper.cpp
Fdo\Unmanaged\Src\Geometry\Fgf\GeometryThreadData.cpp

Note: See TracTickets for help on using tickets.