diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:07:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:07:40 +0000 |
commit | 9d2c15192c890a8876bcb9a2ef918756d03718b6 (patch) | |
tree | 8340f6a53cda0ba296d162c8c8d767086a337ff9 /src/func.c | |
parent | Adding upstream version 3.46.0. (diff) | |
download | sqlite3-9d2c15192c890a8876bcb9a2ef918756d03718b6.tar.xz sqlite3-9d2c15192c890a8876bcb9a2ef918756d03718b6.zip |
Adding upstream version 3.46.1.upstream/3.46.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/func.c')
-rw-r--r-- | src/func.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2206,6 +2206,8 @@ static void groupConcatValue(sqlite3_context *context){ sqlite3_result_error_toobig(context); }else if( pAccum->accError==SQLITE_NOMEM ){ sqlite3_result_error_nomem(context); + }else if( pGCC->nAccum>0 && pAccum->nChar==0 ){ + sqlite3_result_text(context, "", 1, SQLITE_STATIC); }else{ const char *zText = sqlite3_str_value(pAccum); sqlite3_result_text(context, zText, pAccum->nChar, SQLITE_TRANSIENT); |