Disable external merge source when SQLITE_TEMP_STORE==3. Add documentation
to the OP_OpenSorter opcode. FossilOrigin-Name: 5a690486811379cea40c6ed48b2902f421234832
This commit is contained in:
@@ -366,6 +366,14 @@
|
||||
# define SQLITE_TEMP_STORE 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
** If all temporary storage is in-memory, then omit the external merge-sort
|
||||
** logic since it is superfluous.
|
||||
*/
|
||||
#if SQLITE_TEMP_STORE==3 && !defined(SQLITE_OMIT_MERGE_SORT)
|
||||
# define SQLITE_OMIT_MERGE_SORT
|
||||
#endif
|
||||
|
||||
/*
|
||||
** GCC does not define the offsetof() macro so we'll have to do it
|
||||
** ourselves.
|
||||
|
||||
Reference in New Issue
Block a user