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

Enhance the xBestIndex method on delta_parse() to return SQLITE_CONSTRAINT if

no delta argument is supplied.

FossilOrigin-Name: f16d127c3b4a735afae1fc236bcf90f31adff079c7d3a896f901d908ff8b8532
This commit is contained in:
drh
2019-02-19 20:29:05 +00:00
parent 2d441ce3f3
commit 2a98b586c8
3 changed files with 8 additions and 8 deletions

View File

@ -974,7 +974,7 @@ static int deltaparsevtabBestIndex(
pIdxInfo->idxNum = 0;
pIdxInfo->estimatedCost = (double)0x7fffffff;
pIdxInfo->estimatedRows = 0x7fffffff;
return SQLITE_OK;
return SQLITE_CONSTRAINT;
}
/*