aboutsummaryrefslogtreecommitdiff
path: root/src/build.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-04-05 14:01:34 +0000
committerdrh <drh@noemail.net>2016-04-05 14:01:34 +0000
commit868f0398e4f4bf40e66a3802733e87d06c2cde0a (patch)
treec94ba3664df116b71774f5d89ea34611517df3fa /src/build.c
parent1c715f67b9765e14d06288a1deb890170972ae4a (diff)
downloadsqlite-868f0398e4f4bf40e66a3802733e87d06c2cde0a.tar.gz
sqlite-868f0398e4f4bf40e66a3802733e87d06c2cde0a.zip
Remove an unnecessary conditional from the index builder.
FossilOrigin-Name: 87e5f5a6c60e37e943b3ce80617e81b09852515e
Diffstat (limited to 'src/build.c')
-rw-r--r--src/build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.c b/src/build.c
index d4d0c173c..41ded1f8e 100644
--- a/src/build.c
+++ b/src/build.c
@@ -2786,7 +2786,7 @@ static void sqlite3RefillIndex(Parse *pParse, Index *pIndex, int memRootPage){
addr1 = sqlite3VdbeAddOp2(v, OP_SorterSort, iSorter, 0); VdbeCoverage(v);
assert( pKey!=0 || db->mallocFailed || pParse->nErr );
- if( IsUniqueIndex(pIndex) && pKey!=0 ){
+ if( IsUniqueIndex(pIndex) /*&& pKey!=0*/ ){
int j2 = sqlite3VdbeCurrentAddr(v) + 3;
sqlite3VdbeGoto(v, j2);
addr2 = sqlite3VdbeCurrentAddr(v);