1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-08 03:22:21 +03:00

Further fuzzer test cases. Fix a case in the fuzzer where an error code was being dropped.

FossilOrigin-Name: 8b77d3953f082e6fa42e42fe903ea9eddf99dd91
This commit is contained in:
dan
2012-02-21 14:11:12 +00:00
parent 766348febe
commit 4965ebceb7
5 changed files with 168 additions and 11 deletions

View File

@@ -532,8 +532,9 @@ static int fuzzerConnect(
}
if( rc==SQLITE_OK ){
sqlite3_declare_vtab(db, "CREATE TABLE x(word, distance, ruleset)");
}else{
rc = sqlite3_declare_vtab(db, "CREATE TABLE x(word,distance,ruleset)");
}
if( rc!=SQLITE_OK ){
fuzzerDisconnect((sqlite3_vtab *)pNew);
pNew = 0;
}