-------------------------------------------------------------------- */ msSDELayerGetItems */ -------------------------------------------------------------------- */ Queries the SDE table's column names into layer->iteminfo */ -------------------------------------------------------------------- */
| 2069 | /* Queries the SDE table's column names into layer->iteminfo */ |
| 2070 | /* -------------------------------------------------------------------- */ |
| 2071 | int msSDELayerGetItems(layerObj *layer) { |
| 2072 | #ifdef USE_SDE |
| 2073 | int status; |
| 2074 | status = msSDELayerInitItemInfo(layer); |
| 2075 | if (status != MS_SUCCESS) { |
| 2076 | msSetError( MS_MISCERR, "Unable to create SDE column info", "msSDELayerGetItems()"); |
| 2077 | return(MS_FAILURE); |
| 2078 | } |
| 2079 | return (MS_SUCCESS); |
| 2080 | #else |
| 2081 | msSetError( MS_MISCERR, "SDE support is not available.", "msSDELayerGetItems()"); |
| 2082 | return(MS_FAILURE); |
| 2083 | #endif |
| 2084 | } |
| 2085 | |
| 2086 | /* -------------------------------------------------------------------- */ |
| 2087 | /* msSDELayerFreeItemInfo */ |
nothing calls this directly
no test coverage detected