mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
If both MEMSYS3 and MEMSYS5 are enabled, than automatically disable MEMSYS3.
FossilOrigin-Name: ccc22e14dc5d910d632807f49484be54dc2fde83
This commit is contained in:
@@ -3440,11 +3440,15 @@ int sqlite3HeapNearlyFull(void);
|
||||
# define sqlite3StackFree(D,P) sqlite3DbFree(D,P)
|
||||
#endif
|
||||
|
||||
#ifdef SQLITE_ENABLE_MEMSYS3
|
||||
const sqlite3_mem_methods *sqlite3MemGetMemsys3(void);
|
||||
#endif
|
||||
/* Do not allow both MEMSYS5 and MEMSYS3 to be defined together. If they
|
||||
** are, disable MEMSYS3
|
||||
*/
|
||||
#ifdef SQLITE_ENABLE_MEMSYS5
|
||||
const sqlite3_mem_methods *sqlite3MemGetMemsys5(void);
|
||||
#undef SQLITE_ENABLE_MEMSYS3
|
||||
#endif
|
||||
#ifdef SQLITE_ENABLE_MEMSYS3
|
||||
const sqlite3_mem_methods *sqlite3MemGetMemsys3(void);
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user