Home
last modified time | relevance | path

Searched refs:zType (Results 1 – 25 of 35) sorted by relevance

12

/sqlite-3.40.0/tool/
H A Dshowdb.c647 const char *zType = "unknown"; in decode_btree_page() local
656 case 2: zType = "index interior node"; break; in decode_btree_page()
657 case 5: zType = "table interior node"; break; in decode_btree_page()
658 case 10: zType = "index leaf"; break; in decode_btree_page()
659 case 13: zType = "table leaf"; break; in decode_btree_page()
687 print_decode_line(a, 0, 1, zType); in decode_btree_page()
869 const char *zType = "corrupt node"; in page_usage_btree() local
880 zType = "zeroed page"; in page_usage_btree()
884 zType = "corrupt node"; in page_usage_btree()
894 zType = "corrupt node"; in page_usage_btree()
[all …]
H A Dshowwal.c446 const char *zType = "unknown"; in decode_btree_page() local
454 case 2: zType = "index interior node"; break; in decode_btree_page()
455 case 5: zType = "table interior node"; break; in decode_btree_page()
456 case 10: zType = "index leaf"; break; in decode_btree_page()
457 case 13: zType = "table leaf"; break; in decode_btree_page()
467 print_decode_line(a, 0, 1, 0, zType); in decode_btree_page()
H A Dgetlock.c32 const char *zType /* Type of lock */ in isLocked() argument
46 printf("%s lock held by %d\n", zType, (int)lk.l_pid); in isLocked()
/sqlite-3.40.0/ext/session/
H A Dchangeset.c144 const char *zType = ""; in conflictCallback() local
152 case SQLITE_CHANGESET_DATA: zType = "DATA"; break; in conflictCallback()
153 case SQLITE_CHANGESET_NOTFOUND: zType = "NOTFOUND"; break; in conflictCallback()
154 case SQLITE_CHANGESET_CONFLICT: zType = "PRIMARY KEY"; break; in conflictCallback()
155 case SQLITE_CHANGESET_FOREIGN_KEY: zType = "FOREIGN KEY"; break; in conflictCallback()
156 case SQLITE_CHANGESET_CONSTRAINT: zType = "CONSTRAINT"; break; in conflictCallback()
163 printf("%s conflict on %s table %s with primary key", zType, zOp, zTab); in conflictCallback()
/sqlite-3.40.0/src/
H A Dvdbevtab.c41 const char *zType; /* tables_used.type */ member
134 pCur->zType = 0; in bytecodevtabCursorClear()
163 pCur->zType = 0; in bytecodevtabNext()
205 if( i<=2 && pCur->zType==0 ){ in bytecodevtabColumn()
217 pCur->zType = "table"; in bytecodevtabColumn()
226 pCur->zType = "index"; in bytecodevtabColumn()
282 sqlite3_result_text(ctx, pCur->zType, -1, SQLITE_STATIC); in bytecodevtabColumn()
H A Dvtab.c650 char *zType = sqlite3ColumnType(&pTab->aCol[iCol], ""); in vtabCallConstructor() local
653 nType = sqlite3Strlen30(zType); in vtabCallConstructor()
655 if( 0==sqlite3StrNICmp("hidden", &zType[i], 6) in vtabCallConstructor()
656 && (i==0 || zType[i-1]==' ') in vtabCallConstructor()
657 && (zType[i+6]=='\0' || zType[i+6]==' ') in vtabCallConstructor()
664 int nDel = 6 + (zType[i+6] ? 1 : 0); in vtabCallConstructor()
666 zType[j] = zType[j+nDel]; in vtabCallConstructor()
668 if( zType[i]=='\0' && i>0 ){ in vtabCallConstructor()
669 assert(zType[i-1]==' '); in vtabCallConstructor()
670 zType[i-1] = '\0'; in vtabCallConstructor()
H A Dattach.c447 sqlite3ErrorMsg(pFix->pParse, "%s cannot use variables", pFix->zType); in fixExprCb()
472 pFix->zType, pFix->pName, pItem->zDatabase); in fixSelectCb()
508 const char *zType, /* "view", "trigger", or "index" */ in sqlite3FixInit() argument
516 pFix->zType = zType; in sqlite3FixInit()
H A Dresolve.c1105 const char *zType; in resolveExprStep() local
1107 zType = "window"; in resolveExprStep()
1109 zType = "aggregate"; in resolveExprStep()
1405 const char *zType, /* "ORDER" or "GROUP" */ in resolveOutOfRangeError() argument
1412 "between 1 and %d", i, zType, mx); in resolveOutOfRangeError()
1548 const char *zType /* "ORDER" or "GROUP" */ in sqlite3ResolveOrderGroupBy() argument
1557 sqlite3ErrorMsg(pParse, "too many terms in %s BY clause", zType); in sqlite3ResolveOrderGroupBy()
1565 resolveOutOfRangeError(pParse, zType, i+1, pEList->nExpr, 0); in sqlite3ResolveOrderGroupBy()
1641 if( zType[0]!='G' ){ in resolveOrderGroupBy()
1657 resolveOutOfRangeError(pParse, zType, i+1, nResult, pE2); in resolveOrderGroupBy()
[all …]
H A Dtclsqlite.c1030 const char *zType = (pVar->typePtr ? pVar->typePtr->name : ""); in tclSqlFunc() local
1031 char c = zType[0]; in tclSqlFunc()
1039 }else if( (c=='b' && strcmp(zType,"boolean")==0) in tclSqlFunc()
1040 || (c=='w' && strcmp(zType,"wideInt")==0) in tclSqlFunc()
1041 || (c=='i' && strcmp(zType,"int")==0) in tclSqlFunc()
1044 }else if( c=='d' && strcmp(zType,"double")==0 ){ in tclSqlFunc()
1442 c = zType[0]; in dbPrepareAndBind()
1452 }else if( c=='b' && strcmp(zType,"boolean")==0 ){ in dbPrepareAndBind()
1455 }else if( c=='d' && strcmp(zType,"double")==0 ){ in dbPrepareAndBind()
1459 }else if( (c=='w' && strcmp(zType,"wideInt")==0) || in dbPrepareAndBind()
[all …]
H A Dpragma.c319 const char *zType; in pragmaFunclistLine() local
334 zType = "w"; in pragmaFunclistLine()
336 zType = "a"; in pragmaFunclistLine()
338 zType = "s"; in pragmaFunclistLine()
342 zType, azEnc[p->funcFlags&SQLITE_FUNC_ENCMASK], in pragmaFunclistLine()
1272 const char *zType; in sqlite3Pragma() local
1275 zType = "view"; in sqlite3Pragma()
1277 zType = "virtual"; in sqlite3Pragma()
1279 zType = "shadow"; in sqlite3Pragma()
1281 zType = "table"; in sqlite3Pragma()
[all …]
H A Dbuild.c1498 char *zType; in sqlite3AddColumn() local
1590 memcpy(zType, sType.z, sType.n); in sqlite3AddColumn()
1591 zType[sType.n] = 0; in sqlite3AddColumn()
1592 sqlite3Dequote(zType); in sqlite3AddColumn()
2146 const char *zType; in createTableStmt() local
2161 len = sqlite3Strlen30(zType); in createTableStmt()
2164 memcpy(&zStmt[k], zType, len); in createTableStmt()
2790 zType = "table"; in sqlite3EndTable()
2795 zType = "view"; in sqlite3EndTable()
2883 zType, in sqlite3EndTable()
[all …]
H A Dtreeview.c789 const char *zType = "unk"; in sqlite3TreeViewExpr() local
791 case OE_Rollback: zType = "rollback"; break; in sqlite3TreeViewExpr()
792 case OE_Abort: zType = "abort"; break; in sqlite3TreeViewExpr()
793 case OE_Fail: zType = "fail"; break; in sqlite3TreeViewExpr()
794 case OE_Ignore: zType = "ignore"; break; in sqlite3TreeViewExpr()
797 sqlite3TreeViewLine(pView, "RAISE %s(%Q)", zType, pExpr->u.zToken); in sqlite3TreeViewExpr()
H A Dselect.c1864 char const *zType = 0; in columnTypeImpl() local
1946 zType = "INTEGER"; in columnTypeImpl()
1960 zType = "INTEGER"; in columnTypeImpl()
1997 return zType; in columnTypeImpl()
2018 const char *zType; in generateColumnTypes() local
2033 zType = columnType(&sNC, p, 0, 0, 0); in generateColumnTypes()
2302 const char *zType; in sqlite3SelectAddColumnTypeAndCollation() local
2306 zType = columnType(&sNC, p, 0, 0, 0); in sqlite3SelectAddColumnTypeAndCollation()
2309 if( zType ){ in sqlite3SelectAddColumnTypeAndCollation()
2310 m = sqlite3Strlen30(zType); in sqlite3SelectAddColumnTypeAndCollation()
[all …]
H A Dalter.c562 const char *zType = 0; in isRealTable() local
565 zType = "view"; in isRealTable()
570 zType = "virtual table"; in isRealTable()
573 if( zType ){ in isRealTable()
576 zType, pTab->zName in isRealTable()
H A Dos_unix.c781 char *zOpName, *zType; in lockTrace() local
794 zType = "RDLCK"; in lockTrace()
796 zType = "WRLCK"; in lockTrace()
798 zType = "UNLCK"; in lockTrace()
806 threadid, fd, zOpName, zType, (int)p->l_start, (int)p->l_len, in lockTrace()
813 zType = "RDLCK"; in lockTrace()
815 zType = "WRLCK"; in lockTrace()
817 zType = "UNLCK"; in lockTrace()
822 zType, (int)l2.l_start, (int)l2.l_len, (int)l2.l_pid); in lockTrace()
/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest_util.c156 static void argError(void *aData, const char *zType, int sz, const char *zArg){ in argError() argument
161 testPrintError("unrecognized %s \"%s\": must be ", zType, zArg); in argError()
174 const char *zType, in testArgSelectX() argument
204 argError(aData, zType, sz, zArg); in testArgSelectX()
/sqlite-3.40.0/test/
H A Ddbfuzz2.c316 char *zType = "RLIMIT_STACK"; in LLVMFuzzerInitialize() local
323 zType = "RLIMIT_DATA"; in LLVMFuzzerInitialize()
327 zType = "RLIMIT_AS"; in LLVMFuzzerInitialize()
337 zType, (int)x.rlim_cur, (int)y.rlim_cur); in LLVMFuzzerInitialize()
/sqlite-3.40.0/ext/misc/
H A Dscrub.c580 const char *zType; in errorLogCallback() local
582 case SQLITE_WARNING: zType = "WARNING"; break; in errorLogCallback()
583 case SQLITE_NOTICE: zType = "NOTICE"; break; in errorLogCallback()
584 default: zType = "ERROR"; break; in errorLogCallback()
586 fprintf(stderr, "%s: %s\n", zType, zMsg); in errorLogCallback()
H A Dcarray.c282 const char *zType = (const char*)sqlite3_value_text(argv[2]); in carrayFilter() local
284 if( sqlite3_stricmp(zType, azType[i])==0 ) break; in carrayFilter()
288 "unknown datatype: %Q", zType); in carrayFilter()
H A Ddbdump.c384 const char *zType; in dump_callback() local
392 zType = azArg[1]; in dump_callback()
421 if( strcmp(zType, "table")==0 ){ in dump_callback()
H A Dunionvtab.c518 const char *zType = 0; in unionIsIntkeyTable() local
522 db, pSrc->zDb, pSrc->zTab, "_rowid_", &zType, 0, 0, &bPk, 0 in unionIsIntkeyTable()
526 || (rc==SQLITE_OK && (!bPk || sqlite3_stricmp("integer", zType))) in unionIsIntkeyTable()
/sqlite-3.40.0/ext/fts5/
H A Dfts5_tcl.c574 const char *zType = (pVar->typePtr ? pVar->typePtr->name : ""); in xF5tFunction() local
575 char c = zType[0]; in xF5tFunction()
576 if( c=='b' && strcmp(zType,"bytearray")==0 && pVar->bytes==0 ){ in xF5tFunction()
581 }else if( c=='b' && strcmp(zType,"boolean")==0 ){ in xF5tFunction()
584 }else if( c=='d' && strcmp(zType,"double")==0 ){ in xF5tFunction()
588 }else if( (c=='w' && strcmp(zType,"wideInt")==0) || in xF5tFunction()
589 (c=='i' && strcmp(zType,"int")==0) ){ in xF5tFunction()
H A Dfts5_vocab.c104 static int fts5VocabTableType(const char *zType, char **pzErr, int *peType){ in fts5VocabTableType() argument
106 char *zCopy = sqlite3Fts5Strndup(&rc, zType, -1); in fts5VocabTableType()
196 const char *zType = bDb ? argv[5] : argv[4]; in fts5VocabInitVtab() local
201 rc = fts5VocabTableType(zType, pzErr, &eType); in fts5VocabInitVtab()
/sqlite-3.40.0/ext/fts3/tool/
H A Dfts3view.c116 const char *zType = "???"; in showSchema() local
118 case 0: zType = "OFF"; break; in showSchema()
119 case 1: zType = "FULL"; break; in showSchema()
120 case 2: zType = "INCREMENTAL"; break; in showSchema()
122 printf("PRAGMA auto_vacuum=%s;\n", zType); in showSchema()
/sqlite-3.40.0/ext/expert/
H A Dsqlite3expert.c1414 const char *zType = (const char*)sqlite3_column_text(pSchema, 0); in idxCreateVtabSchema() local
1418 if( zType==0 || zName==0 ) continue; in idxCreateVtabSchema()
1419 if( zType[0]=='v' || zType[1]=='r' ){ in idxCreateVtabSchema()

12