1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-10-21 11:13:54 +03:00

Remove an ALWAYS() from a branch that can in fact be false following an OOM

fault.

FossilOrigin-Name: 3a1feb1c469d3dd50e2558581199b16bfd59b9d5bcb0de5f1a8f0ec30a17b4d1
This commit is contained in:
drh
2023-10-02 15:56:37 +00:00
parent 041fb16631
commit 43d71eb892
3 changed files with 9 additions and 9 deletions

View File

@@ -1580,7 +1580,7 @@ static void concatFuncCore(
k = sqlite3_value_bytes(argv[i]);
if( k>0 ){
const char *v = (const char*)sqlite3_value_text(argv[i]);
if( ALWAYS(v!=0) ){
if( v!=0 ){
if( j>0 && nSep>0 ){
memcpy(&z[j], zSep, nSep);
j += nSep;