| /sqlite-3.40.0/ext/lsm1/lsm-test/ |
| H A D | lsmtest_datasource.c | 80 nMinKey = MAX(0, pDefn->nMinKey); in testDatasourceNew() 81 nMaxKey = MAX(nMinKey, pDefn->nMaxKey); in testDatasourceNew() 83 nMinVal = MAX(0, pDefn->nMinVal); in testDatasourceNew() 84 nMaxVal = MAX(nMinVal, pDefn->nMaxVal); in testDatasourceNew()
|
| H A D | lsmtest.h | 58 #define MAX(x,y) ((x)>(y) ? (x) : (y)) macro
|
| H A D | lsmtest_tdb3.c | 753 return lsm_commit(pDb->db, MAX(0, iLevel-1)); in test_lsm_commit() 764 return lsm_rollback(pDb->db, MAX(0, iLevel-1)); in test_lsm_rollback()
|
| H A D | lsmtest_main.c | 868 nRow = MAX(nRow, 100000); in do_speed_tests() 1029 fprintf(pOut, "set xrange [%d:*]\n", MAX(nStep, nRow/20) ); in do_speed_tests()
|
| /sqlite-3.40.0/src/ |
| H A D | test_onefile.c | 251 #define MAX(x,y) ((x)>(y)?(x):(y)) macro 300 pTmp->nSize = (int)MAX(pTmp->nSize, iOfst+iAmt); in tmpWrite() 456 pReal->nDatabase = (int)MAX(pReal->nDatabase, iAmt+iOfst); in fsWrite() 478 pReal->nJournal = (int)MAX(pReal->nJournal, iAmt+iOfst); in fsWrite() 825 fs_vfs.base.szOsFile = MAX(sizeof(tmp_file), sizeof(fs_file)); in fs_register()
|
| H A D | vdbetrace.c | 126 nextIndex = MAX(idx + 1, nextIndex); in sqlite3VdbeExpandSql()
|
| H A D | analyze.c | 1001 pParse->nMem = MAX(pParse->nMem, iMem); in analyzeOneTable() 1044 pParse->nTab = MAX(pParse->nTab, iTab); in analyzeOneTable() 1107 pParse->nMem = MAX(pParse->nMem, regPrev+nColTest); in analyzeOneTable() 1279 pParse->nMem = MAX(pParse->nMem, regCol+nCol); in analyzeOneTable()
|
| H A D | memjournal.c | 439 return MAX(pVfs->szOsFile, (int)sizeof(MemJournal)); in sqlite3JournalSize()
|
| H A D | vdbesort.c | 540 sqlite3_int64 nNew = MAX(128, 2*(sqlite3_int64)p->nAlloc); in vdbePmaReadBlob() 1007 pSorter->mxPmaSize = MAX(pSorter->mnPmaSize, (int)mxCache); in sqlite3VdbeSorterInit() 2005 pIncr->mxSz = MAX(pTask->pSorter->mxKeysize+9,pTask->pSorter->mxPmaSize/2); in vdbeIncrMergerNew()
|
| H A D | wherecode.c | 626 aiMap = (int*)sqlite3DbMallocZero(pParse->db, sizeof(int)*MAX(nEq,n)); in codeEqualityTerm() 1748 nExtraReg = MAX(nExtraReg, pLoop->u.btree.nBtm); in sqlite3WhereCodeOneLoopStart() 1755 nExtraReg = MAX(nExtraReg, pLoop->u.btree.nTop); in sqlite3WhereCodeOneLoopStart()
|
| H A D | printf.c | 607 szBufNeeded = MAX(e2,0)+(i64)precision+(i64)width+15; in sqlite3_str_vappendf()
|
| H A D | where.c | 2374 MAX(p->rRun, pTemplate->rRun), in whereLoopAdjustCost() 2375 MAX(p->nOut + 1, pTemplate->nOut))); in whereLoopAdjustCost() 2376 pTemplate->rRun = MAX(p->rRun, pTemplate->rRun); in whereLoopAdjustCost() 2377 pTemplate->nOut = MAX(p->nOut + 1, pTemplate->nOut); in whereLoopAdjustCost()
|
| H A D | sqliteInt.h | 740 #ifndef MAX 741 # define MAX(A,B) ((A)>(B)?(A):(B)) macro
|
| /sqlite-3.40.0/test/ |
| H A D | fts3corrupt4.test | 830 | 3024: 52 54 52 45 45 20 4d 41 58 20 4d 45 4d 4f 52 59 RTREE MAX MEMORY 845 | 3264: 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 30 30 MAX MEMORY=50000 847 | 3296: 19 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 30 .MAX MEMORY=5000 849 | 3328: 0f 17 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 ..MAX MEMORY=500 1053 | 3024: 52 54 52 45 45 20 4d 41 58 20 4d 45 4d 4f 52 59 RTREE MAX MEMORY 1068 | 3264: 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 30 30 MAX MEMORY=50000 1070 | 3296: 19 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 30 .MAX MEMORY=5000 1072 | 3328: 0f 17 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 ..MAX MEMORY=500 1282 | 3024: 52 54 52 45 45 20 4d 41 58 20 4d 45 4d 4f 52 59 RTREE MAX MEMORY 1297 | 3264: 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 30 30 MAX MEMORY=50000 [all …]
|
| H A D | tkt2686.test | 44 WHERE rowid <= (SELECT MAX(rowid) FROM filler LIMIT 20) 74 WHERE rowid <= (SELECT MAX(rowid) FROM filler LIMIT 20)
|
| H A D | contrib01.test | 71 SELECT T2.A, T2.B, T1.D, T1.E, T1.F, T1.G, T1.H, MAX(T1.C), '^' 81 SELECT T2.A, T2.B, T1.D, T1.E, T1.F, T1.G, T1.H, MAX(T1.C), '^'
|
| H A D | minmax3.test | 68 # Index optimizes the WHERE x='2' constraint and the MAX(y). 73 # Index optimizes the WHERE x='2' constraint and the MAX(y). 103 # Index optimizes the WHERE x='2' constraint and the MAX(y).
|
| H A D | select1.test | 171 set v [catch {execsql {SELECT MAX(*) FROM test1}} msg] 173 } {1 {wrong number of arguments to function MAX()}} 183 set v [catch {execsql {SELECT MAX(f1,f2)+1 FROM test1}} msg] 187 set v [catch {execsql {SELECT MAX(f1)+1 FROM test1}} msg]
|
| /sqlite-3.40.0/ext/async/ |
| H A D | sqlite3async.c | 29 #define MAX(x,y) ((x)>(y)?(x):(y)) macro 720 filesize = MAX(filesize, pWrite->iOffset+nByte64); in asyncRead() 796 s = MAX(pWrite->iOffset + (sqlite3_int64)(pWrite->nByte), s); in asyncFileSize() 884 p->lock.eAsyncLock = MAX(p->lock.eAsyncLock, eLock); in asyncLock() 1501 pData->lock.eAsyncLock, MAX(pData->lock.eLock, eLock) in asyncWriterThread()
|
| /sqlite-3.40.0/ext/fts3/ |
| H A D | fts3Int.h | 88 #ifndef MAX 89 # define MAX(x,y) ((x)>(y)?(x):(y)) macro
|
| H A D | fts3_write.c | 4338 MAX(nRoot, p->nNodeSize)+FTS3_NODE_PADDING, &rc in fts3IncrmergeLoad() 4367 MAX(nBlock, p->nNodeSize)+FTS3_NODE_PADDING, &rc in fts3IncrmergeLoad() 4945 sqlite3_bind_int(pFindLevel, 1, MAX(2, nMin)); in sqlite3Fts3Incrmerge() 4974 nSeg = MIN(MAX(nMin,nSeg), nHintSeg); in sqlite3Fts3Incrmerge()
|
| /sqlite-3.40.0/tool/ |
| H A D | split-sqlite3c.tcl | 11 set MAX 32768 ;# Maximum number of lines per file.
|
| /sqlite-3.40.0/ext/rtree/ |
| H A D | rtree.c | 415 #ifndef MAX 416 # define MAX(x,y) ((x) < (y) ? (y) : (x)) macro 2122 p1->aCoord[ii+1].f = MAX(p1->aCoord[ii+1].f, p2->aCoord[ii+1].f); in cellUnion() 2128 p1->aCoord[ii+1].i = MAX(p1->aCoord[ii+1].i, p2->aCoord[ii+1].i); in cellUnion() 2178 x1 = MAX(DCOORD(p->aCoord[jj]), DCOORD(aCell[ii].aCoord[jj])); in cellOverlap() 3460 pRtree->nRowEst = MAX(nRow, RTREE_MIN_ROWEST); in rtreeQueryStat1()
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5Int.h | 54 #define MAX(x,y) (((x) > (y)) ? (x) : (y)) macro
|
| /sqlite-3.40.0/ext/fts5/test/ |
| H A D | fts5corrupt3.test | 2727 | 3264: 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 30 30 MAX MEMORY=50000 2729 | 3296: 19 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 30 .MAX MEMORY=5000 2731 | 3328: 0f 17 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 ..MAX MEMORY=500 2948 | 3264: 19 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 31 81 .MAX MEMORY=501. 4181 | 3264: 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 30 30 MAX MEMORY=50000 4183 | 3296: 19 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 30 .MAX MEMORY=5000 4185 | 3328: 0f 17 4d 41 58 20 4d 45 4d 4f 52 59 3d 35 30 30 ..MAX MEMORY=500 4808 | 3264: 4d 41 58 20 4d 45 4d 4f 52 59 60 35 30 30 30 30 MAX MEMORY`50000 6951 INSERT INTO t1_content VALUES(30,'MAX MEMORY=50000000','W','BINARY'); 6952 INSERT INTO t1_content VALUES(29,'MAX MEMORY=50000000','X','NOCASE'); [all …]
|