mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-01 06:27:03 +03:00
Fix a potential crash in sqlite3expert.c caused by a missing sqlite3_reset()
call. FossilOrigin-Name: f6355970f04a3c4d85801c806366788139d8d5ad29383ec7faa81e2176ffe987
This commit is contained in:
@ -1525,6 +1525,7 @@ static int idxPopulateOneStat1(
|
||||
);
|
||||
zOrder = idxAppendText(&rc, zOrder, "%s%d", zComma, ++nCol);
|
||||
}
|
||||
sqlite3_reset(pIndexXInfo);
|
||||
if( rc==SQLITE_OK ){
|
||||
if( p->iSample==100 ){
|
||||
zQuery = sqlite3_mprintf(
|
||||
|
Reference in New Issue
Block a user