[fdo-internals] Code Submission Notification ( SHP: Misspelled property name in query causes crash)

Dan Stoica dan.stoica at autodesk.com
Wed Feb 7 14:11:50 EST 2007


Perform a validity check in Execute() for the existence of the
properties (class properties, base properties or computed identifiers)
in the filter. This includes Select, Update and Delete commands. An
exception is thrown in Execute rather than in ReadNext().

 

The validation code has been factored out from SDF provider (see
G034-BK1 submission) and placed into FdoCommonFilterExecutor.cpp

 

Modified:

   branches/3.2.x/Utilities/Common/Inc/FdoCommonFilterExecutor.h

   branches/3.2.x/Utilities/Common/Src/FdoCommonFilterExecutor.cpp

 

   branches/3.2.x/Providers/SDF/Src/Provider/SdfDelete.cpp

   branches/3.2.x/Providers/SDF/Src/Provider/SdfQueryOptimizer.cpp

   branches/3.2.x/Providers/SDF/Src/Provider/SdfQueryOptimizer.h

   branches/3.2.x/Providers/SDF/Src/Provider/SdfSelect.cpp

   branches/3.2.x/Providers/SDF/Src/Provider/SdfUpdate.cpp

   branches/3.2.x/Providers/SDF/Src/Utils/FilterExecutor.h

 

   branches/3.2.x/Providers/SHP/Src/Message/ShpMessage.mc

   branches/3.2.x/Providers/SHP/Src/Provider/ShpDeleteCommand.cpp

   branches/3.2.x/Providers/SHP/Src/Provider/ShpSelectCommand.cpp

   branches/3.2.x/Providers/SHP/Src/Provider/ShpUpdateCommand.cpp

--------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-internals/attachments/20070207/b7d9d56e/attachment.html


More information about the fdo-internals mailing list