| /sqlite-3.40.0/test/ |
| H A D | types2.test | 82 test_bool types2-1.13 {n1=500} {500 = n1} 1 83 test_bool types2-1.14 {n1=500} {'500' = n1} 1 84 test_bool types2-1.15 {n1=500} {500.0 = n1} 1 85 test_bool types2-1.16 {n1=500} {'500.0' = n1} 1 86 test_bool types2-1.17 {n1='500'} {500 = n1} 1 87 test_bool types2-1.18 {n1='500'} {'500' = n1} 1 88 test_bool types2-1.19 {n1='500'} {500.0 = n1} 1 180 test_bool types2-4.13 {n1=400} {500 > n1} 1 181 test_bool types2-4.14 {n1=400} {'500' > n1} 1 182 test_bool types2-4.15 {n1=400} {500.0 > n1} 1 [all …]
|
| H A D | e_resolve.test | 26 CREATE TABLE temp.n1(x, y); INSERT INTO temp.n1 VALUES('temp', 'n1'); 30 CREATE TABLE main.n1(x, y); INSERT INTO main.n1 VALUES('main', 'n1'); 35 CREATE TABLE at1.n1(x, y); INSERT INTO at1.n1 VALUES('at1', 'n1'); 39 CREATE TABLE at2.n1(x, y); INSERT INTO at2.n1 VALUES('at2', 'n1'); 63 do_execsql_test 1.1 { SELECT * FROM n1 } {temp n1} 77 do_execsql_test 2.1.3 { SELECT * FROM at1.n1 } {at1 n1} 78 do_execsql_test 2.1.4 { SELECT * FROM at2.n1 } {at2 n1} 86 do_execsql_test 3.1 { SELECT * FROM MAIN.n1 } {main n1} 87 do_execsql_test 3.2 { SELECT * FROM tEmP.n1 } {temp n1} 88 do_execsql_test 3.3 { SELECT * FROM aT1.n1 } {at1 n1} [all …]
|
| H A D | in5.test | 222 CREATE TABLE n1(a INTEGER PRIMARY KEY, b VARCHAR(500)); 223 CREATE UNIQUE INDEX n1a ON n1(a); 227 SELECT count(*) FROM n1 WHERE a IN (1, 2, 3) 230 SELECT count(*) FROM n1 WHERE a IN (SELECT +a FROM n1) 233 INSERT INTO n1 VALUES(1, NULL), (2, NULL), (3, NULL); 234 SELECT count(*) FROM n1 WHERE a IN (1, 2, 3) 237 SELECT count(*) FROM n1 WHERE a IN (SELECT +a FROM n1)
|
| H A D | laststmtchanges.test | 221 create temp table n1 (k integer primary key, n); 232 insert into n1 values (NULL, changes()); 234 insert into n1 values (NULL, changes()); 236 insert into n1 values (NULL, changes()); 239 insert into n1 values (NULL, changes()); 271 select n from n1;
|
| H A D | tpch01.test | 148 nation n1, 156 and c_nationkey = n1.n_nationkey 157 and n1.n_regionkey = r_regionkey 171 } {/.* customer .* n1 .*/}
|
| H A D | upfrom3.test | 166 CREATE TABLE map2(o1, o2, n1, n2); 170 UPDATE u1 SET b=n1, c=n2 FROM map2 WHERE b=o1 AND c=o2;
|
| H A D | json103.test | 56 } {0 {{"n3":3,"n6":6}} 1 {{"n1":1,"n4":4}} 2 {{"n2":2,"n5":5}}}
|
| H A D | fts4langid.test | 179 set n1 [llength $list1] 182 while {$i1 < $n1 && $i2 < $n2} {
|
| H A D | csv01.test | 222 puts $fd "a,b,c,d\r\n1,2,3,4\r\none,two,three,four\r\n5,6,7,8"
|
| H A D | fts3corrupt4.test | 912 | 3152: 6e 31 03 25 13 00 00 04 6c 6f 61 64 03 25 1c 00 n1.%....load.%.. 1135 | 3152: 6e 31 03 25 13 00 00 04 6c 6f 61 64 03 25 1c 00 n1.%....load.%.. 1364 | 3152: 6e 31 03 25 13 00 00 04 6c 6f 61 64 03 25 1c 00 n1.%....load.%.. 1651 | 3152: 6e 31 03 25 13 00 00 04 6c 6f 61 64 03 25 1c 00 n1.%....load.%.. 1876 | 3152: 6e 31 03 25 13 41 00 04 6c 6f 61 64 03 25 1c 00 n1.%.A..load.%.. 2519 | 3152: 6e 31 03 25 13 00 00 04 6c 6f 61 64 03 25 1c 00 n1.%....load.%.. 2756 | 3152: 6e 31 03 25 13 41 00 04 6c 6f 61 64 03 25 1c 00 n1.%.A..load.%.. 2980 | 3152: 6e 31 03 25 13 00 00 04 6c 6f 61 64 03 25 1c 00 n1.%....load.%.. 3407 | 3152: 6e 31 03 25 13 00 00 04 6c 6f 61 64 03 25 1c 00 n1.%....load.%.. 3629 | 3152: 6e 31 03 25 13 00 00 04 6c 6f 61 64 03 25 1c 00 n1.%....load.%.. [all …]
|
| /sqlite-3.40.0/ext/fts1/ |
| H A D | ft_hash.c | 89 static int intCompare(const void *pKey1, int n1, const void *pKey2, int n2){ 90 return n2 - n1; 102 static int ptrCompare(const void *pKey1, int n1, const void *pKey2, int n2){ 122 static int strCompare(const void *pKey1, int n1, const void *pKey2, int n2){ in strCompare() argument 123 if( n1!=n2 ) return 1; in strCompare() 124 return strncmp((const char*)pKey1,(const char*)pKey2,n1); in strCompare() 138 static int binCompare(const void *pKey1, int n1, const void *pKey2, int n2){ in binCompare() argument 139 if( n1!=n2 ) return 1; in binCompare() 140 return memcmp(pKey1,pKey2,n1); in binCompare()
|
| H A D | fts1_hash.c | 102 static int strCompare(const void *pKey1, int n1, const void *pKey2, int n2){ in strCompare() argument 103 if( n1!=n2 ) return 1; in strCompare() 104 return strncmp((const char*)pKey1,(const char*)pKey2,n1); in strCompare() 118 static int binCompare(const void *pKey1, int n1, const void *pKey2, int n2){ in binCompare() argument 119 if( n1!=n2 ) return 1; in binCompare() 120 return memcmp(pKey1,pKey2,n1); in binCompare()
|
| /sqlite-3.40.0/ext/lsm1/lsm-test/ |
| H A D | lsmtest7.c | 136 int n1 = nPgsz; in newLsmConnection() local 140 if( n1 ) lsm_config(db, LSM_CONFIG_PAGE_SIZE, &n1); in newLsmConnection() 150 int n1 = 0; in testPagesize() local 153 lsm_config(db, LSM_CONFIG_PAGE_SIZE, &n1); in testPagesize() 156 testCompareInt(n1, nPgsz, pRc); in testPagesize()
|
| /sqlite-3.40.0/src/ |
| H A D | test3.c | 440 int n1, n2, i, j; in btree_varint_test() local 455 n1 = putVarint(zBuf, in); in btree_varint_test() 456 if( n1>9 || n1<1 ){ in btree_varint_test() 458 "putVarint returned %d - should be between 1 and 9", n1); in btree_varint_test() 463 if( n1!=n2 ){ in btree_varint_test() 465 "putVarint returned %d and getVarint returned %d", n1, n2); in btree_varint_test() 479 if( n1!=n2 ){ in btree_varint_test() 482 n1, n2); in btree_varint_test()
|
| H A D | vdbesort.c | 814 int n1; in vdbeSorterCompareText() local 818 getVarint32NR(&p1[1], n1); in vdbeSorterCompareText() 820 res = memcmp(v1, v2, (MIN(n1, n2) - 13)/2); in vdbeSorterCompareText() 822 res = n1 - n2; in vdbeSorterCompareText()
|
| H A D | vdbeaux.c | 4311 int n1 = pB1->n; in sqlite3BlobCompare() local 4318 assert( (pB1->flags & MEM_Zero)==0 || n1==0 ); in sqlite3BlobCompare() 4329 return n1 - pB2->u.nZero; in sqlite3BlobCompare() 4332 c = memcmp(pB1->z, pB2->z, n1>n2 ? n2 : n1); in sqlite3BlobCompare() 4334 return n1 - n2; in sqlite3BlobCompare()
|
| /sqlite-3.40.0/ext/fts3/ |
| H A D | fts3_hash.c | 107 static int fts3StrCompare(const void *pKey1, int n1, const void *pKey2, int n2){ in fts3StrCompare() argument 108 if( n1!=n2 ) return 1; in fts3StrCompare() 109 return strncmp((const char*)pKey1,(const char*)pKey2,n1); in fts3StrCompare() 123 static int fts3BinCompare(const void *pKey1, int n1, const void *pKey2, int n2){ in fts3BinCompare() argument 124 if( n1!=n2 ) return 1; in fts3BinCompare() 125 return memcmp(pKey1,pKey2,n1); in fts3BinCompare()
|
| /sqlite-3.40.0/ext/fts2/ |
| H A D | fts2_hash.c | 109 static int strCompare(const void *pKey1, int n1, const void *pKey2, int n2){ in strCompare() argument 110 if( n1!=n2 ) return 1; in strCompare() 111 return strncmp((const char*)pKey1,(const char*)pKey2,n1); in strCompare() 125 static int binCompare(const void *pKey1, int n1, const void *pKey2, int n2){ in binCompare() argument 126 if( n1!=n2 ) return 1; in binCompare() 127 return memcmp(pKey1,pKey2,n1); in binCompare()
|
| /sqlite-3.40.0/ext/session/ |
| H A D | sqlite3session.c | 663 if( n1!=n2 || memcmp(a1, a2, n1) ){ in sessionChangeEqual() 666 a1 += n1; in sessionChangeEqual() 709 aOut += n1; in sessionMergeRecord() 711 a1 += n1; in sessionMergeRecord() 744 int n1; in sessionMergeValue() local 758 *pnVal = n1; in sessionMergeValue() 761 *paOne = &a1[n1]; in sessionMergeValue() 5020 a1 += n1; in sessionChangeMerge() 5525 pOut += n1; in sessionAppendPartialUpdate() 5533 a1 += n1; in sessionAppendPartialUpdate() [all …]
|
| /sqlite-3.40.0/ext/fts5/test/ |
| H A D | fts5aa.test | 422 CREATE VIRTUAL TABLE n1 USING fts5(a); 423 INSERT INTO n1 VALUES('a b c d'); 442 SELECT funk(), bm25(n1), funk() FROM n1 WHERE n1 MATCH 'a+b+c+d'
|
| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_main.c | 56 static int xCmp(void *p1, int n1, void *p2, int n2){ in xCmp() argument 58 res = memcmp(p1, p2, LSM_MIN(n1, n2)); in xCmp() 59 if( res==0 ) res = (n1-n2); in xCmp()
|
| H A D | lsm_sorted.c | 3410 u8 *a1; int n1; in mergeWorkerMoveHierarchy() local 3413 a1 = fsPageData(pNew, &n1); in mergeWorkerMoveHierarchy() 3416 assert( n1==n2 || n1+4==n2 ); in mergeWorkerMoveHierarchy() 3418 if( n1==n2 ){ in mergeWorkerMoveHierarchy() 3422 int iEof1 = SEGMENT_EOF(n1, nEntry); in mergeWorkerMoveHierarchy() 3433 assert( n1==n2 || n1+4==n2 || n2+4==n1 ); in mergeWorkerMoveHierarchy() 3434 if( n1>=n2 ){ in mergeWorkerMoveHierarchy() 3441 int iEof1 = SEGMENT_EOF(n1, nEntry); in mergeWorkerMoveHierarchy() 3448 lsmPutU16(&a1[SEGMENT_FLAGS_OFFSET(n1)], SEGMENT_BTREE_FLAG); in mergeWorkerMoveHierarchy() 3449 lsmPutU16(&a1[SEGMENT_NRECORD_OFFSET(n1)], 0); in mergeWorkerMoveHierarchy() [all …]
|
| /sqlite-3.40.0/ext/rbu/ |
| H A D | rbuvacuum.test | 346 set n1 [string length $x] 348 return [expr $n1 - $n2]
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | spellfix.c | 864 int n1, /* Index of comparison character on the left */ in matchFromTo() argument 868 int b1 = pStr->a[n1].nByte; in matchFromTo() 871 if( pStr->z[n1]!=z2[0] ) return 0; in matchFromTo() 872 if( strncmp(pStr->z+n1, z2, b1)!=0 ) return 0; in matchFromTo()
|
| /sqlite-3.40.0/ext/recover/ |
| H A D | recover1.test | 173 \nhello\012world(\n0)(\n1)
|