From fe7c7ca26e195be321ea21bd6f2cd5ae708e12bd Mon Sep 17 00:00:00 2001 From: htt1997 Date: Mon, 22 Jan 2024 14:46:19 +0800 Subject: [PATCH] refactor:Increase the length of error log printing buf Signed-off-by: htt1997 --- src/sqlite3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sqlite3.c b/src/sqlite3.c index 8ca1d92..9988125 100644 --- a/src/sqlite3.c +++ b/src/sqlite3.c @@ -31264,7 +31264,7 @@ SQLITE_API char *sqlite3_snprintf(int n, char *zBuf, const char *zFormat, ...){ */ static void renderLogMsg(int iErrCode, const char *zFormat, va_list ap){ StrAccum acc; /* String accumulator */ - char zMsg[SQLITE_PRINT_BUF_SIZE*3]; /* Complete log message */ + char zMsg[SQLITE_PRINT_BUF_SIZE*10]; /* Complete log message */ sqlite3StrAccumInit(&acc, 0, zMsg, sizeof(zMsg), 0); sqlite3_str_vappendf(&acc, zFormat, ap); -- Gitee