diff options
author | drh <> | 2021-10-02 17:34:28 +0000 |
---|---|---|
committer | drh <> | 2021-10-02 17:34:28 +0000 |
commit | 9673cd0de7dd2dbc4fd1c0b082e27c5e00f67c61 (patch) | |
tree | 65c241866c5bfb57c3b7e3a4af9e4ce0e9ac4a70 /src | |
parent | cc9309c7977dbe7f95f1f8c787b7587da3c88c7c (diff) | |
download | sqlite-9673cd0de7dd2dbc4fd1c0b082e27c5e00f67c61.tar.gz sqlite-9673cd0de7dd2dbc4fd1c0b082e27c5e00f67c61.zip |
Remove an unnecessary static buffer from sqlite3VdbeExpandSql().
FossilOrigin-Name: 953a33b7f739bb39f4a0efedcad2236c09fb798da4a519f8e1049aebe3bbf3ff
Diffstat (limited to 'src')
-rw-r--r-- | src/vdbetrace.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vdbetrace.c b/src/vdbetrace.c index 1095e7f58..ae8ad3115 100644 --- a/src/vdbetrace.c +++ b/src/vdbetrace.c @@ -84,11 +84,9 @@ char *sqlite3VdbeExpandSql( #ifndef SQLITE_OMIT_UTF16 Mem utf8; /* Used to convert UTF16 into UTF8 for display */ #endif - char zBase[100]; /* Initial working space */ db = p->db; - sqlite3StrAccumInit(&out, 0, zBase, sizeof(zBase), - db->aLimit[SQLITE_LIMIT_LENGTH]); + sqlite3StrAccumInit(&out, 0, 0, 0, db->aLimit[SQLITE_LIMIT_LENGTH]); if( db->nVdbeExec>1 ){ while( *zRawSql ){ const char *zStart = zRawSql; |