Lines Matching refs:sqlite3_mprintf
920 zSql = sqlite3_mprintf("PRAGMA \"%w\".table_info=%Q;",
969 sqlite3_result_text(pCtx, sqlite3_mprintf("/* %s */", zFake),
1022 z = sqlite3_mprintf("%.*s \"%w\".%s", n+7, zIn, zSchema, zIn+n+8);
1024 z = sqlite3_mprintf("%.*s %s.%s", n+7, zIn, zSchema, zIn+n+8);
1032 z = sqlite3_mprintf("%s\n/* %s */", zIn, zFake);
1034 z = sqlite3_mprintf("%z\n/* %s */", z, zFake);
2139 char *zMsg = sqlite3_mprintf("error SQL statement [%s]: %s",
2147 char *zMsg = sqlite3_mprintf("non-query: [%s]", sqlite3_sql(pStmt));
3656 pVTab->zErrMsg = sqlite3_mprintf(
3735 *pzErrMsg = sqlite3_mprintf(
4956 char *zCopy = sqlite3_mprintf("%s", zFile);
5356 pCur->zPath = sqlite3_mprintf("%s/%s", pLvl->zDir, pEntry->d_name);
5493 pCur->zPath = sqlite3_mprintf("%s/%s", pCur->zBase, zDir);
5495 pCur->zPath = sqlite3_mprintf("%s", zDir);
5889 zSql = sqlite3_mprintf(
5913 zSql = sqlite3_mprintf(
6028 pCur->zPrefix = sqlite3_mprintf("%s", sqlite3_value_text(argv[iArg]));
6036 pCur->zLine = sqlite3_mprintf("%s", sqlite3_value_text(argv[iArg]));
6047 pCur->zPrefix = sqlite3_mprintf("%.*s", pCur->nPrefix, pCur->zLine + i);
6525 *(char**)pArg = sqlite3_mprintf("apnd(%lld)/%z", paf->iPgOne,*(char**)pArg);
7210 *pzErr = sqlite3_mprintf("zipfile constructor requires one argument");
7375 *pzErrmsg = sqlite3_mprintf("error in fread()");
7391 pTab->base.zErrMsg = sqlite3_mprintf("error in fwrite()");
7682 *pzErr = sqlite3_mprintf("failed to read CDS at offset %lld", iOff);
7694 pNew->cds.zFile = sqlite3_mprintf("%.*s", nFile, aRead);
7722 *pzErr = sqlite3_mprintf("failed to read LFH at offset %d",
7862 *pzErr = sqlite3_mprintf("zipfile: deflate() error");
8018 pTab->base.zErrMsg = sqlite3_mprintf(
8186 pNew->cds.zFile = sqlite3_mprintf("%s", zPath);
8278 *pzErr = sqlite3_mprintf("zipfile: mode does not match data");
8285 *pzErr = sqlite3_mprintf("zipfile: parse error in mode: %s", z);
8307 pTab->base.zErrMsg = sqlite3_mprintf("zipfile: missing filename");
8317 pTab->base.zErrMsg = sqlite3_mprintf(
8496 zFree = sqlite3_mprintf("%s/", zPath);
8698 char *zRes = sqlite3_mprintf("{"
8823 zErr = sqlite3_mprintf("wrong number of arguments to function zipfile()");
8843 zErr = sqlite3_mprintf("first argument to zipfile() must be non-NULL");
8853 zErr = sqlite3_mprintf("illegal method value: %d", iMethod);
8897 zErr = sqlite3_mprintf("non-directory name must not end with /");
8903 zName = zFree = sqlite3_mprintf("%s/", zName);
9675 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
9781 *pzErr = sqlite3_mprintf("internal error!");
10355 zName = sqlite3_mprintf("%s_idx_%08x", zTable, h);
10360 zFind = sqlite3_mprintf(zFmt, zName);
10382 zIdx = sqlite3_mprintf(zFmt, zName, zTable, zCols);
10679 char *z = sqlite3_mprintf("ALTER TABLE temp.%Q RENAME TO %Q", zTab, zInt);
10711 zWrite = sqlite3_mprintf("DELETE FROM %Q", zInt);
10990 zQuery = sqlite3_mprintf(
10994 zQuery = sqlite3_mprintf(
11028 zStat = sqlite3_mprintf("%d", s0);
11064 zSql = sqlite3_mprintf(
11323 *pzErr = sqlite3_mprintf("Cannot find a unique index name to propose.");
12139 zSql = sqlite3_mprintf("SELECT %.*s(0)", nFunc, zSchema);
12141 zSql = sqlite3_mprintf("PRAGMA %Q.page_count", zSchema);
12206 char *zSql = sqlite3_mprintf("SELECT %.*s(?2)", nFunc, zSchema);
12223 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db));
15827 zTempFile = sqlite3_mprintf("temp%llx", r);
15856 zCmd = sqlite3_mprintf("%s \"%s\"", zEditor, zTempFile);
16222 char *zQuoted = sqlite3_mprintf("\"%w\"", z);
16374 char *zNew = sqlite3_mprintf("%s%s;", zOrig, azTerm[i]);
16646 z = sqlite3_mprintf("%s", azArg[0]);
16778 char *z = sqlite3_mprintf("\"%w\"", azCol[i]);
17060 return sqlite3_mprintf("");
17072 zCode = sqlite3_mprintf("%.*s", len, zSql);
17076 zMsg = sqlite3_mprintf("\n %z\n %*s^--- error here", zCode, iOffset, "");
17078 zMsg = sqlite3_mprintf("\n %z\n %*serror here ---^", zCode, iOffset-14, "");
17795 return sqlite3_mprintf("NULL");
17799 return sqlite3_mprintf("%s",sqlite3_column_text(pStmt,i));
17802 return sqlite3_mprintf("%Q",sqlite3_column_text(pStmt,i));
18331 zEQP = sqlite3_mprintf("EXPLAIN QUERY PLAN %s", zStmtSql);
18349 zEQP = sqlite3_mprintf("EXPLAIN %s", zStmtSql);
18462 zSql = sqlite3_mprintf("PRAGMA table_info=%Q", zTab);
18473 azCol[++nCol] = sqlite3_mprintf("%s", sqlite3_column_text(pStmt, 1));
18506 zSql = sqlite3_mprintf("SELECT 1 FROM pragma_index_list(%Q)"
18598 zIns = sqlite3_mprintf(
19042 zPat = sqlite3_mprintf(".%s*", zPattern);
19065 zPat = sqlite3_mprintf("%%%s%%", zPattern);
19347 char *z = sqlite3_mprintf("\"%w\"", zName);
19565 char *zSql = sqlite3_mprintf(
19623 zSql = sqlite3_mprintf("SELECT DISTINCT candidate COLLATE nocase"
19661 zSql = sqlite3_mprintf("SELECT DISTINCT candidate COLLATE nocase"
20058 zQuery = sqlite3_mprintf("SELECT * FROM \"%w\"", zTable);
20130 zQuery = sqlite3_mprintf("SELECT * FROM \"%w\" ORDER BY rowid DESC;",
20167 zQuery = sqlite3_mprintf("SELECT name, sql FROM sqlite_schema"
20196 zQuery = sqlite3_mprintf("SELECT name, sql FROM sqlite_schema"
20280 zCmd = sqlite3_mprintf("%s %s", zXdgOpenCmd, p->zTempFile);
20403 zSchemaTab = sqlite3_mprintf("main.sqlite_schema");
20405 zSchemaTab = sqlite3_mprintf("%s", "sqlite_temp_schema");
20407 zSchemaTab = sqlite3_mprintf("\"%w\".sqlite_schema", zDb);
20410 char *zSql = sqlite3_mprintf(aQuery[i].zSql, zSchemaTab);
20592 p->zTempFile = sqlite3_mprintf("%s/temp%llx.%s", zTemp, r, zSuffix);
20594 p->zTempFile = sqlite3_mprintf("%z.%s", p->zTempFile, zSuffix);
20646 char *z = sqlite3_mprintf(" COLLATE %s", zParentSeq);
20799 zPrev = sqlite3_mprintf("%s", zParent);
21260 zWhere = sqlite3_mprintf("1");
21266 zWhere = sqlite3_mprintf(
21337 zSql = sqlite3_mprintf("DELETE FROM %s WHERE %s;",
21393 zDir = sqlite3_mprintf("%s/", pAr->zDir);
21395 zDir = sqlite3_mprintf("");
21528 zSql = sqlite3_mprintf(
21547 zExists = sqlite3_mprintf(
21554 zExists = sqlite3_mprintf("");
21558 char *zSql2 = sqlite3_mprintf(zInsertFmt[pAr->bZip], zTab,
21570 zSql = sqlite3_mprintf("DROP TABLE %s", zTemp);
21605 cmd.zSrcTable = sqlite3_mprintf("zip");
21607 cmd.zSrcTable = sqlite3_mprintf("zipfile(%Q)", cmd.zFile);
21647 cmd.zSrcTable = sqlite3_mprintf("sqlar");
21966 zColsSpec = sqlite3_mprintf("%s", sqlite3_column_text(pStmt, 0));
21976 *pzRenamed = sqlite3_mprintf("%s", sqlite3_column_text(pStmt, 0));
22416 char *zExpr = sqlite3_mprintf(
22426 zLike = sqlite3_mprintf("%z OR %z", zLike, zExpr);
22449 if( zLike==0 ) zLike = sqlite3_mprintf("true");
22450 zSql = sqlite3_mprintf(
22460 zSql = sqlite3_mprintf(
22933 zFullTabName = sqlite3_mprintf("\"%w\".\"%w\"", zSchema, zTable);
22935 zFullTabName = sqlite3_mprintf("\"%w\"", zTable);
22937 zSql = sqlite3_mprintf("SELECT * FROM %s", zFullTabName);
22949 zCreate = sqlite3_mprintf("CREATE TABLE %s", zFullTabName);
22972 zCreate = sqlite3_mprintf("%z%z\n", zCreate, zColDefs);
23105 zSql = sqlite3_mprintf(
23121 zSql = sqlite3_mprintf("PRAGMA index_xinfo='%q'", azArg[1]);
23141 zCollist = sqlite3_mprintf("\"%w\"", zCol);
23143 zCollist = sqlite3_mprintf("%z,\"%w\"", zCollist, zCol);
23154 zSql = sqlite3_mprintf(
23524 zNewFilename = sqlite3_mprintf("%s", zFN);
23587 zFile = sqlite3_mprintf("%s", z);
23589 while( i+1<nArg ) zFile = sqlite3_mprintf("%z %s", zFile, azArg[++i]);
23602 zFile = sqlite3_mprintf("stdout");
23627 zFile = sqlite3_mprintf("%s", p->zTempFile);
23725 zSql = sqlite3_mprintf(
23735 zSql = sqlite3_mprintf(
23757 char *zSql = sqlite3_mprintf(
23983 new_argv[0] = sqlite3_mprintf(
24042 char *zQarg = sqlite3_mprintf("%Q", zName);
24213 char *x = pSession->azFilter[ii-1] = sqlite3_mprintf("%s", azCmd[ii]);
24285 pSession->zName = sqlite3_mprintf("%s", zName);
24532 zSql = sqlite3_mprintf(
24538 zSql = sqlite3_mprintf(
24568 zCmd = sqlite3_mprintf(strchr(azArg[1],' ')==0?"%s":"\"%s\"", azArg[1]);
24570 zCmd = sqlite3_mprintf(strchr(azArg[i],' ')==0?"%z %s":"%z \"%s\"",
24723 azResult[nRow] = sqlite3_mprintf("%s", sqlite3_column_text(pStmt, 0));
25683 zBuf = sqlite3_mprintf("%s/.sqliterc",home_dir);