/ Check-in [6d39d6a6]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Minor change to dbfuzz2 that allows it to be compiled against older versions of SQLite.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6d39d6a68bf09e0b4f6706218373e74fc03148fd8bdba5031c3de2f750d87cf2
User & Date: drh 2019-02-26 18:21:08
Context
2019-02-26
19:16
Reformat the white-space in a few test cases so that the tests work with Tcl 8.6.9. check-in: 29d02bf2 user: dan tags: trunk
18:21
Minor change to dbfuzz2 that allows it to be compiled against older versions of SQLite. check-in: 6d39d6a6 user: drh tags: trunk
17:52
New test cases added to test/fuzzdata8.db. check-in: 61fdfc57 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to test/dbfuzz2.c.

   179    179     a = sqlite3_malloc64(nByte+1);
   180    180     if( a==0 ) return 1;
   181    181     memcpy(a, aData, nByte);
   182    182     sqlite3_deserialize(db, "main", a, nByte, nByte,
   183    183           SQLITE_DESERIALIZE_RESIZEABLE |
   184    184           SQLITE_DESERIALIZE_FREEONCLOSE);
   185    185     x = szMax;
          186  +#ifdef SQLITE_FCNTL_SIZE_LIMIT
   186    187     sqlite3_file_control(db, "main", SQLITE_FCNTL_SIZE_LIMIT, &x);
          188  +#endif
   187    189     if( bVdbeDebug ){
   188    190       sqlite3_exec(db, "PRAGMA vdbe_debug=ON", 0, 0, 0);
   189    191     }
   190    192     for(i=0; i<sizeof(azSql)/sizeof(azSql[0]); i++){
   191    193       if( eVerbosity>=1 ){
   192    194         printf("%s\n", azSql[i]);
   193    195         fflush(stdout);