Home
last modified time | relevance | path

Searched refs:zTail (Results 1 – 16 of 16) sorted by relevance

/sqlite-3.40.0/src/
H A Dtest_thread.c569 const char *zTail = 0; in blocking_prepare_v2_proc() local
585 rc = sqlite3_blocking_prepare_v2(db, zSql, bytes, &pStmt, &zTail); in blocking_prepare_v2_proc()
587 rc = sqlite3_prepare_v2(db, zSql, bytes, &pStmt, &zTail); in blocking_prepare_v2_proc()
591 if( zTail && objc>=5 ){ in blocking_prepare_v2_proc()
593 bytes = bytes - (zTail-zSql); in blocking_prepare_v2_proc()
595 Tcl_ObjSetVar2(interp, objv[4], 0, Tcl_NewStringObj(zTail, bytes), 0); in blocking_prepare_v2_proc()
H A Dtest1.c4548 const char *zTail = 0; in test_prepare() local
4565 if( zTail && objc>=5 ){ in test_prepare()
4606 const char *zTail = 0; in test_prepare_v2() local
4632 pzTail = objc>=5 ? &zTail : 0; in test_prepare_v2()
4635 zTail = &zSql[(zTail - zCopy)]; in test_prepare_v2()
4680 const char *zTail = 0; in test_prepare_v3() local
4710 zTail = &zSql[(zTail - zCopy)]; in test_prepare_v3()
4793 const void *zTail = 0; in test_prepare16() local
4817 if( zTail ){ in test_prepare16()
4853 const void *zTail = 0; in test_prepare16_v2() local
[all …]
H A Dprepare.c766 sParse.zTail = &zSql[sParse.zTail-zSqlCopy]; in sqlite3Prepare()
769 sParse.zTail = &zSql[nBytes]; in sqlite3Prepare()
777 *pzTail = sParse.zTail; in sqlite3Prepare()
781 sqlite3VdbeSetSql(sParse.pVdbe, zSql, (int)(sParse.zTail-zSql), prepFlags); in sqlite3Prepare()
H A Dtokenize.c587 pParse->zTail = zSql;
696 sqlite3_log(pParse->rc, "%s in \"%s\"", pParse->zErrMsg, pParse->zTail);
699 pParse->zTail = zSql;
H A Dbuild.c2555 char *zTail; /* Pointer to the last "_" in zName */ in sqlite3ShadowTableName() local
2557 zTail = strrchr(zName, '_'); in sqlite3ShadowTableName()
2558 if( zTail==0 ) return 0; in sqlite3ShadowTableName()
2559 *zTail = 0; in sqlite3ShadowTableName()
2561 *zTail = '_'; in sqlite3ShadowTableName()
H A Dprintf.c944 zText =pParse->zTail; in sqlite3RecordErrorByteOffset()
H A Dparse.y1069 p->w.iOfst = (int)(t.z - pParse->zTail);
1108 if( A ) A->w.iOfst = (int)(X.z - pParse->zTail);
H A Dshell.c.in1961 static void printSchemaLine(FILE *out, const char *z, const char *zTail){ argument
1964 if( zTail==0 ) return;
1965 if( zTail[0]==';' && (strstr(z, "/*")!=0 || strstr(z,"--")!=0) ){
1982 utf8_printf(out, "CREATE TABLE IF NOT EXISTS %s%s", z+13, zTail);
1984 utf8_printf(out, "%s%s", z, zTail);
1988 static void printSchemaLineN(FILE *out, char *z, int n, const char *zTail){ argument
1991 printSchemaLine(out, z, zTail);
H A DsqliteInt.h3720 const char *zTail; /* All SQL text past the last semicolon parsed */ member
H A Dexpr.c1082 pNew->w.iOfst = (int)(pToken->z - pParse->zTail); in sqlite3ExprFunction()
/sqlite-3.40.0/test/
H A Dkvtest.c507 char *zTail; in exportMain() local
545 zTail = zFN + nFN + 1; in exportMain()
552 sqlite3_snprintf(20, zTail, "%06d", iKey); in exportMain()
554 sqlite3_snprintf(20, zTail, "%02d", iKey/10000); in exportMain()
556 sqlite3_snprintf(20, zTail, "%02d/%02d", iKey/10000, (iKey/100)%100); in exportMain()
558 sqlite3_snprintf(20, zTail, "%02d/%02d/%02d", in exportMain()
564 printf("\r%s ", zTail); fflush(stdout); in exportMain()
/sqlite-3.40.0/ext/lsm1/tool/
H A Dmklsm1c.tcl64 set zTail [file tail $zIn]
65 puts $G(fd) "#line 1 \"$zTail\""
/sqlite-3.40.0/ext/fts5/
H A Dfts5_config.c607 const char *zTail = 0; in sqlite3Fts5ConfigParse() local
612 zTail = "content"; in sqlite3Fts5ConfigParse()
614 zTail = "docsize"; in sqlite3Fts5ConfigParse()
617 if( zTail ){ in sqlite3Fts5ConfigParse()
619 &rc, "%Q.'%q_%s'", pRet->zDb, pRet->zName, zTail in sqlite3Fts5ConfigParse()
H A Dfts5_storage.c212 const char *zTail, /* Tail of table name e.g. "data", "config" */ in fts5StorageRenameOne() argument
218 pConfig->zDb, pConfig->zName, zTail, zName, zTail in fts5StorageRenameOne()
/sqlite-3.40.0/ext/fts5/tool/
H A Dmkfts5c.tcl81 set zTail [file tail $zIn]
82 puts $G(fd) "#line 1 \"$zTail\""
/sqlite-3.40.0/mptest/
H A Dmptest.c1243 const char *zTail = argv0; in usage() local
1245 if( isDirSep(argv0[i]) ) zTail = argv0+i+1; in usage()
1247 fprintf(stderr,"Usage: %s DATABASE ?OPTIONS? ?SCRIPT?\n", zTail); in usage()