mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Omit some code not used without SQLITE_ENABLE_SORTER_REFERENCES. Improvements
to comments used for documentation. FossilOrigin-Name: f3596ab9eb1168dc75202e6f79e12c67d518b3a0659a0a629c707f43990fa7cf
This commit is contained in:
@@ -642,16 +642,16 @@ int sqlite3_config(int op, ...){
|
||||
break;
|
||||
}
|
||||
|
||||
case SQLITE_CONFIG_SORTERREF_SIZE: {
|
||||
#ifdef SQLITE_ENABLE_SORTER_REFERENCES
|
||||
case SQLITE_CONFIG_SORTERREF_SIZE: {
|
||||
int iVal = va_arg(ap, int);
|
||||
if( iVal<0 ){
|
||||
iVal = SQLITE_DEFAULT_SORTERREF_SIZE;
|
||||
}
|
||||
sqlite3GlobalConfig.szSorterRef = (u32)iVal;
|
||||
#endif /* SQLITE_ENABLE_SORTER_REFERENCES */
|
||||
break;
|
||||
}
|
||||
#endif /* SQLITE_ENABLE_SORTER_REFERENCES */
|
||||
|
||||
default: {
|
||||
rc = SQLITE_ERROR;
|
||||
|
Reference in New Issue
Block a user