| /sqlite-3.40.0/test/ |
| H A D | corruptD.test | 37 # free block of space. 39 # 2. The first two bytes of all but the last free block on the free-block 40 # list (the offset to the next free block). 109 # containing the offset of the first free block in a page. 116 Page 2: free space corruption}}} 125 # in the first 2 byte of each free-block on the free-list.
|
| H A D | tkt3918.test | 32 # This set of statements sets up the free list so that the 33 # first free-list trunk page contains only a single leaf. 35 # second free-list trunk page contains, amongst other things, 47 # the linked list of free-list trunk pages. 53 # page 4 from the database free-list. Bug 3918 caused sqlite to
|
| H A D | corruptK.test | 35 INSERT INTO t1 VALUES(randomblob(100)); -- make this into a free slot 39 DELETE FROM t1 WHERE rowid=2; -- free the 100 byte slot 45 # the free slot (rowid==3) has an overlarge length field. So that 47 # the free slot. 49 # Then use sqlite3_blob_write() to set the size of said free slot 53 # the page with zero free slots and a large nFree value. Then try 89 INSERT INTO t1 VALUES(randomblob(20)); -- free this one
|
| H A D | threadtest1.c | 116 if( zErrMsg ) free(zErrMsg); in db_query() 122 free(zErrMsg); in db_query() 123 free(zSql); in db_query() 152 free(zErrMsg); in db_execute() 167 free(az); in db_query_free() 272 free(zJournal); in main()
|
| H A D | dbfuzz.c | 129 free(g.aFile[i].zFilename); in reformatVfs() 136 free(g.aFile[i].a); in reformatVfs() 194 free(pNew->zFilename); in createVFile() 195 free(pNew->a); in createVFile() 214 free(pVFile->a); in inmemClose() 361 free(pVFile->zFilename); in inmemDelete() 364 free(pVFile->a); in inmemDelete() 746 free(azDb); in main()
|
| H A D | corruptF.test | 30 # Database pages 3 and 4 are on the free list. 60 # Check the db is as we expect. 6 pages in total, with 3 and 4 on the free 61 # list. Page 3 is the free list trunk and page 4 is a leaf. 67 # Change the free-list entry to page 6 and reopen the db file. 120 # Change the free-list entry to page 5 and reopen the db file.
|
| H A D | corruptI.test | 147 # The db is then corrupted by adding the root table leaf page as a free-list 150 # Then, a new table is created. The new root page is the current free-list 152 # free list trunk, which corrupts its header. Then, when the new entry is 178 # Corrupt the db by adding it to the free-list as well (the second last 179 # page of the db is the free-list trunk). 237 # At one point an assert() would fail if attempt was made to free page 1.
|
| H A D | incrvacuum2.test | 139 # free-list (e.g. during an incremental-vacuum), all trunk pages that 140 # occurred before the specific page in the free-list trunk were being 147 # This test case builds a database containing many free pages. Then runs 148 # "PRAGMA incremental_vacuum(1)" until the db contains zero free pages. 160 # the "number of free-list pages" field.
|
| H A D | corrupt2.test | 87 # Corrupt the free-block list on page 1. 102 Page 1: free space corruption}}} 107 # Corrupt the free-block list on page 1. 123 Page 1: free space corruption}}} 282 # step is executed, the last non-free page of the database file is 283 # moved into a free space in the body of the file. After doing so, 582 # There are now 3 free pages. Modify the header-field so that it 583 # (incorrectly) says that just 2 are free. 596 # Use 2 of the free pages on the free-list.
|
| H A D | func.test | 27 } {free is program software this} 89 } {this software free program is} 146 } {this program is free software} 330 } {this program is free software} 1138 } {this,program,is,free,software} 1143 } {{this program is free software}} 1163 } {BEGIN-this,program,is,free,software} 1192 } {,program,is,free,software} 1206 } {program,is,free,software} 1217 } {,is,free,software} [all …]
|
| H A D | malloc5.test | 116 # a journal-sync to free, the other does not. 161 # test is to make sure we don't free pages that are in use (specifically, 364 # used than the db2 pages. When we try to free memory, SQLite should 365 # free the non-dirty db2 pages, then the db pages, then finally use 366 # sync() to free up the dirty db2 pages. The only page that cannot be
|
| H A D | corruptC.test | 101 Page 3: free space corruption}}} 131 # test that a corrupt free cell size is handled (seed 13329) 143 # test that a corrupt free cell size is handled (seed 169571) 155 # test that a corrupt free cell size is handled (seed 169571) 175 # test that a corrupt free cell size is handled (seed 169595)
|
| /sqlite-3.40.0/ext/fts1/ |
| H A D | simple_tokenizer.c | 84 free((void *) t->zDelim); in simpleDestroy() 85 free(t); in simpleDestroy() 114 free(c->zToken); in simpleClose() 116 free(c); in simpleClose()
|
| H A D | fts1_tokenizer1.c | 74 free(t); in simpleCreate() 95 free(pTokenizer); in simpleDestroy() 138 free(c->pToken); in simpleClose() 139 free(c); in simpleClose()
|
| H A D | fts1.c | 272 free(d->pData); in docListDestroy() 280 free(d); in docListDelete() 929 free(zCommand); in sql_exec() 939 free(zCommand); in sql_prepare() 1525 free(v); in fulltext_vtab_destroy() 1663 free(aToken); in tokenizeString() 2071 free(schema.s); in fulltextCreate() 2161 free(q->pTerms); in queryClear() 2169 free(p->aMatch); in snippetClear() 2170 free(p->zOffset); in snippetClear() [all …]
|
| H A D | fulltext.c | 160 free(d->pData); in docListDestroy() 168 free(d); in docListDelete() 508 free(zCommand); in sql_exec() 516 free(zCommand); in sql_prepare() 700 free(*pzContent); in content_select() 844 free((void *) v->zName); in fulltext_vtab_destroy() 845 free(v); in fulltext_vtab_destroy() 1007 free(c); in fulltextClose() 1146 free(q->pTerm); in query_free() 1200 free(zQuery1); in parse_query() [all …]
|
| H A D | fts1_porter.c | 80 free(pTokenizer); in porterDestroy() 123 free(c->zToken); in porterClose() 124 free(c); in porterClose()
|
| /sqlite-3.40.0/tool/ |
| H A D | speedtest8inst1.c | 110 free(p); in readScriptFile() 118 free(p); in readScriptFile() 119 free(zData); in readScriptFile()
|
| H A D | showwal.c | 220 free(aData); in print_frame() 251 free(aData); in print_oneline_frame() 281 free(aData); in print_wal_header() 511 free(zMap); in decode_btree_page() 582 free(a); in main()
|
| H A D | fuzzershell.c | 1255 free(azInFile); in main() 1256 free(zIn); in main() 1257 free(pHeap); in main() 1258 free(pLook); in main() 1259 free(pScratch); in main() 1260 free(pPCache); in main()
|
| H A D | showjournal.c | 94 free(pHdr); in decode_journal_header() 104 free(aData); in print_page()
|
| H A D | speedtest16.c | 97 free(utf16); in prepareAndRun() 135 free(utf16); in main()
|
| /sqlite-3.40.0/ext/lsm1/lsm-test/ |
| H A D | lsmtest_tdb.c | 57 free(pDb->pVal); in test_leveldb_close() 58 free(pDb); in test_leveldb_close() 95 free(pDb->pVal); in test_leveldb_fetch() 437 free((char *)pDb->aAlloc); in sql_close() 438 free((char *)pDb); in sql_close() 499 free(pDb->aAlloc); in sql_fetch()
|
| H A D | lsmtest_tdb2.cc | 40 free(pKcDb); in test_kc_open() 56 free(pKcDb); in test_kc_close() 255 free(pMdb); in test_mdb_close()
|
| H A D | lsmtest_main.c | 348 free(aName); 425 free(p); in testFree() 1089 free(aTime); in do_speed_tests() 1090 free(aSelTime); in do_speed_tests() 1091 free(aWrite); in do_speed_tests() 1283 free(aPage); in do_writer_test() 1284 free(aOrder); in do_writer_test()
|