Opened 14 years ago
Closed 14 years ago
#3223 closed defect (fixed)
MS_PLUGIN connection type: copyVirtualTable does not copy LayerResultsGetShape function pointer
Reported by: | jbartkowiak | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 5.6 release |
Component: | MapServer C Library | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | |
Cc: |
Description
When initializing virtual table for plugin layer copyVirtualTable does not copy LayerResultsGetShape function pointer and MapServer does not "see" it.
Patch for mappluginlayer.c:
*** D:/build/mapserver-5.6.0-rc1/mappluginlayer.c Thu Dec 03 14:12:48 2009 --- D:/build/mapserver-buildkit-2008/mapserver-5.6.0/mappluginlayer.c Thu Dec 03 14:11:53 2009 *************** *** 164,169 **** --- 164,170 ---- dest->LayerIsOpen = src->LayerIsOpen ? src->LayerIsOpen : dest->LayerIsOpen; dest->LayerWhichShapes = src->LayerWhichShapes ? src->LayerWhichShapes : dest->LayerWhichShapes; dest->LayerNextShape = src->LayerNextShape ? src->LayerNextShape : dest->LayerNextShape; + dest->LayerResultsGetShape = src->LayerResultsGetShape ? src->LayerResultsGetShape : dest->LayerResultsGetShape; dest->LayerGetShape = src->LayerGetShape ? src->LayerGetShape : dest->LayerGetShape; dest->LayerClose = src->LayerClose ? src->LayerClose : dest->LayerClose; dest->LayerGetItems = src->LayerGetItems ? src->LayerGetItems : dest->LayerGetItems;
Note:
See TracTickets
for help on using tickets.
Thanks for catching this! Committed in r9571...
Steve