1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Ensure that geopoly does not invoke sqlite3_result_error_nomem() with a

NULL pointer.

FossilOrigin-Name: 2483310d15022b47109b44c86e100f5894be7a45a0568dfef6aea80e6c518654
This commit is contained in:
drh
2021-10-05 12:34:54 +00:00
parent e1e1a43a0f
commit 8a0c42765d
4 changed files with 16 additions and 10 deletions

View File

@ -436,7 +436,12 @@ struct RtreeMatchArg {
** it is not, make it a no-op.
*/
#ifndef SQLITE_AMALGAMATION
# define testcase(X)
# ifdef SQLITE_COVERAGE_TEST
unsigned int sqlite3RtreeTestcase = 0;
# define testcase(X) if( X ){ sqlite3RtreeTestcase += __LINE__; }
# else
# define testcase(X)
# endif
#endif
/*