[−][src]Function spatialite_sys::check_geometry_column_r
pub unsafe extern "C" fn check_geometry_column_r(
p_cache: *const c_void,
sqlite: *mut sqlite3,
table: *const c_char,
geom: *const c_char,
report_path: *const c_char,
n_rows: *mut c_int,
n_invalids: *mut c_int,
err_msg: *mut *mut c_char
) -> c_int
Checks a Geometry Column for validity
\param p_cache a memory pointer returned by spatialite_alloc_connection() \param sqlite handle to current DB connection \param table name of the table \param geometry name of the column to be checked \param report_path pathname of the report-file \param n_rows if this variable is not NULL on successful completion will contain the total number of rows found into the checkeck table \param n_invalids if this variable is not NULL on successful completion will contain the total number of invalid Geometries found into the checkeck table \param err_msg if this variable is not NULL and the return status is ZERO (failure), an appropriate error message will be returned
\sa check_geometry_column, check_all_geometry_columns, sanitize_geometry_column, sanitize_all_geometry_columns
\note this function will check a Geometry Column (layer) for validity; a HTML report will be produced. \n an eventual error message returned via err_msg requires to be deallocated by invoking free()\n reentrant and thread-safe.
\return 0 on failure, any other value on success