mirror of
https://github.com/sqlite/sqlite.git
synced 2025-10-21 11:13:54 +03:00
Fix the length of the string in the new concat() and concat_ws() functions.
FossilOrigin-Name: 325243226520376f4a142864ae3fb98866f25bff4dc50a6b648ef98428a7169f
This commit is contained in:
@@ -1592,7 +1592,7 @@ static void concatFuncCore(
|
||||
}
|
||||
z[j] = 0;
|
||||
assert( j<=n );
|
||||
sqlite3_result_text64(context, z, n, sqlite3_free, SQLITE_UTF8);
|
||||
sqlite3_result_text64(context, z, j, sqlite3_free, SQLITE_UTF8);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user