[][src]Function spatialite_sys::check_all_geometry_columns

pub unsafe extern "C" fn check_all_geometry_columns(
    sqlite: *mut sqlite3,
    output_dir: *const c_char,
    n_invalids: *mut c_int,
    err_msg: *mut *mut c_char
) -> c_int

Checks all Geometry Columns for validity

\param sqlite handle to current DB connection \param output_dir pathname of the directory to be created for report-files \param n_invalids if this variable is not NULL on successful completion will contain the total number of invalid Geometries found \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_all_geometry_columns_r, check_geometry_column, sanitize_geometry_column, sanitize_all_geometry_columns

\note this function will check all Geometry Columns (vector layers) 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 not reentrant and thread unsafe.

\return 0 on failure, any other value on success