mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Don't do anything when input doclists are both empty. Ticket #2774 (CVS 4546)
FossilOrigin-Name: 75cb46f82a6a95dbe9e279dede299bafa2e91cae
This commit is contained in:
@ -1351,7 +1351,7 @@ static void docListUnion(
|
||||
DLWriter writer;
|
||||
|
||||
if( nLeft==0 ){
|
||||
dataBufferAppend(pOut, pRight, nRight);
|
||||
if( nRight!=0) dataBufferAppend(pOut, pRight, nRight);
|
||||
return;
|
||||
}
|
||||
if( nRight==0 ){
|
||||
@ -1532,7 +1532,7 @@ static void docListOrMerge(
|
||||
DLWriter writer;
|
||||
|
||||
if( nLeft==0 ){
|
||||
dataBufferAppend(pOut, pRight, nRight);
|
||||
if( nRight!=0 ) dataBufferAppend(pOut, pRight, nRight);
|
||||
return;
|
||||
}
|
||||
if( nRight==0 ){
|
||||
|
@ -1335,7 +1335,7 @@ static void docListUnion(
|
||||
DLWriter writer;
|
||||
|
||||
if( nLeft==0 ){
|
||||
dataBufferAppend(pOut, pRight, nRight);
|
||||
if( nRight!=0) dataBufferAppend(pOut, pRight, nRight);
|
||||
return;
|
||||
}
|
||||
if( nRight==0 ){
|
||||
@ -1633,7 +1633,7 @@ static void docListOrMerge(
|
||||
DLWriter writer;
|
||||
|
||||
if( nLeft==0 ){
|
||||
dataBufferAppend(pOut, pRight, nRight);
|
||||
if( nRight!=0 ) dataBufferAppend(pOut, pRight, nRight);
|
||||
return;
|
||||
}
|
||||
if( nRight==0 ){
|
||||
|
Reference in New Issue
Block a user