mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Add fault-injection tests for the code in test_stat.c.
FossilOrigin-Name: ea5e0b74c997492025225cd86e65e8a8c86ca4a0
This commit is contained in:
@@ -6107,8 +6107,9 @@ case OP_VOpen: {
|
||||
pCur->pVtabCursor = pVtabCursor;
|
||||
pVtab->nRef++;
|
||||
}else{
|
||||
db->mallocFailed = 1;
|
||||
assert( db->mallocFailed );
|
||||
pModule->xClose(pVtabCursor);
|
||||
goto no_mem;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user