MCPcopy Create free account
hub / github.com/MapServer/MapServer / ERROR

Function ERROR

maporaclespatial.c:288–298  ·  view source on GitHub ↗

check last_oci_status for MS_FAILURE (set by TRY()) if an error ocurred return 1; * otherwise, returns 0 */

Source from the content-addressed store, hash-verified

286/* check last_oci_status for MS_FAILURE (set by TRY()) if an error ocurred return 1;
287 * otherwise, returns 0 */
288static int ERROR( char *routine, msOracleSpatialHandler *hand, msOracleSpatialDataHandler *dthand )
289{
290 if (hand->last_oci_status == MS_FAILURE)
291 {
292 /* there was an error */
293 msSetError( MS_ORACLESPATIALERR, (char *)hand->last_oci_error, routine );
294 return 1; /* error processed */
295 }
296 else
297 return 0; /* no error */
298}
299
300/* break layer->connection (username/password@dblink) into username, password and dblink */
301static void msSplitLogin( char *connection, mapObj *map, char **username, char **password, char **dblink )

Callers 2

osGetOrdinatesFunction · 0.85

Calls 1

msSetErrorFunction · 0.85

Tested by

no test coverage detected