aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/select.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/select.c b/src/select.c
index ebb764573..763b25412 100644
--- a/src/select.c
+++ b/src/select.c
@@ -1129,13 +1129,10 @@ static void selectInnerLoop(
}
case SRT_Upfrom: {
-#ifdef SQLITE_ENABLE_UPDATE_DELETE_LIMIT
if( pSort ){
pushOntoSorter(
pParse, pSort, p, regResult, regOrig, nResultCol, nPrefixReg);
- }else
-#endif
- {
+ }else{
int i2 = pDest->iSDParm2;
int r1 = sqlite3GetTempReg(pParse);
@@ -1587,7 +1584,6 @@ static void generateSortTail(
break;
}
#endif
-#ifdef SQLITE_ENABLE_UPDATE_DELETE_LIMIT
case SRT_Upfrom: {
int i2 = pDest->iSDParm2;
int r1 = sqlite3GetTempReg(pParse);
@@ -1599,7 +1595,6 @@ static void generateSortTail(
}
break;
}
-#endif
default: {
assert( eDest==SRT_Output || eDest==SRT_Coroutine );
testcase( eDest==SRT_Output );