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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user