Lines Matching refs:sqlite3_mprintf
1349 ** of the char** argument point to a string obtained from [sqlite3_mprintf()]
3475 ** ^The sqlite3_mprintf() and sqlite3_vmprintf() routines write their
3505 SQLITE_API char *sqlite3_mprintf(const char*,...);
7019 ** sqlite3_temp_directory = sqlite3_mprintf("%s", zPathBuf);
7779 ** point to an appropriate error message (obtained from [sqlite3_mprintf()])
8159 ** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should
8168 char *zErrMsg; /* Error message from sqlite3_mprintf() */
26489 zJson = sqlite3_mprintf(
32372 /* Special optimization for sqlite3_mprintf("%z..."):
32939 SQLITE_API char *sqlite3_mprintf(const char *zFormat, ...){
33992 char *z = sqlite3_mprintf("VECTOR%s",zFlgs);
42873 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
45289 zPath = sqlite3_mprintf("%s", zName);
49188 zCopy = sqlite3_mprintf("%s", zValue);
50986 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
54282 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
54606 zSql = sqlite3_mprintf("PRAGMA \"%w\".page_count", zSchema);
54682 zSql = sqlite3_mprintf("ATTACH x AS %Q", zSchema);
71691 zMsg = sqlite3_mprintf("database corruption page %u of %s",
91305 zMsg = sqlite3_mprintf("non-deterministic use of %s() in %s",
107237 pVTab->base.zErrMsg = sqlite3_mprintf(
122831 char *z = sqlite3_mprintf("%s.%s", zTab, zCol);
122832 if( db->nDb>2 || iDb!=0 ) z = sqlite3_mprintf("%s.%z", zDb, z);
130818 zBuf = sqlite3_mprintf("%!.*f",(int)n,r);
138817 #define sqlite3_mprintf sqlite3_api->mprintf
139264 sqlite3_mprintf,
139638 *pzErrMsg = sqlite3_mprintf("not authorized");
139662 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
139725 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
141661 sqlite3_temp_directory = sqlite3_mprintf("%s", zRight);
141702 sqlite3_data_directory = sqlite3_mprintf("%s", zRight);
143480 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
143611 pCsr->azArg[j] = sqlite3_mprintf("%s", zText);
143631 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db));
153706 z = sqlite3_mprintf("%s", colv[i]);
153712 p->zErrMsg = sqlite3_mprintf(
153790 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
166921 z = sqlite3_mprintf("(%d,\"%s\",%#x)",
166924 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
184793 zErr = sqlite3_mprintf(
184828 zCopy = sqlite3_mprintf("%s", zName);
185677 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
185722 *pzErrMsg = sqlite3_mprintf("unexpected %%00 in uri");
185809 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
185814 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
185840 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
189680 zCols = sqlite3_mprintf("%Q, ", p->azColumn[0]);
189682 zCols = sqlite3_mprintf("%z%Q, ", zCols, p->azColumn[i]);
189686 zSql = sqlite3_mprintf(
189733 zContentCols = sqlite3_mprintf("docid INTEGER PRIMARY KEY");
189736 zContentCols = sqlite3_mprintf("%z, 'c%d%q'", zContentCols, i, z);
189739 zContentCols = sqlite3_mprintf("%z, langid", zContentCols, zLanguageid);
189794 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", p->zDb);
189836 zValue = sqlite3_mprintf("%s", &zCsr[1]);
189860 char *z2 = sqlite3_mprintf("%s%s", *pz, z);
190145 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", zDb, zTbl);
190856 zSql = sqlite3_mprintf("SELECT %s WHERE rowid = ?", p->zReadExprlist);
192424 zSql = sqlite3_mprintf(
192430 zSql = sqlite3_mprintf("SELECT %s ORDER BY rowid %s",
192613 char *zTbl = sqlite3_mprintf("%s_stat", p->zName);
192735 char *zErr = sqlite3_mprintf("illegal first argument to %s", zFunc);
192980 char *zSql = sqlite3_mprintf("INSERT INTO %Q.%Q(%Q) VALUES('flush')",
193063 *pzErr = sqlite3_mprintf("unable to validate the inverted index for"
193068 *pzErr = sqlite3_mprintf("malformed inverted index for FTS%d table %s.%s",
195672 pCsr->filter.zTerm = sqlite3_mprintf("%s", zStr);
195679 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
196957 return sqlite3_mprintf("");
196963 zBuf = sqlite3_mprintf(
196966 zBuf = sqlite3_mprintf("%z %.*s%s", zBuf,
196975 zBuf = sqlite3_mprintf("%zNEAR/%d ", zBuf, pExpr->nNear);
196978 zBuf = sqlite3_mprintf("%zNOT ", zBuf);
196981 zBuf = sqlite3_mprintf("%zAND ", zBuf);
196984 zBuf = sqlite3_mprintf("%zOR ", zBuf);
196988 if( zBuf ) zBuf = sqlite3_mprintf("%z{", zBuf);
196990 if( zBuf ) zBuf = sqlite3_mprintf("%z} {", zBuf);
196993 if( zBuf ) zBuf = sqlite3_mprintf("%z}", zBuf);
198282 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName);
198357 zCopy = sqlite3_mprintf("%s", zArg);
198478 char *zErr2 = sqlite3_mprintf("unknown tokenizer: %s", zName);
198665 zTest = sqlite3_mprintf("%s_test", zName);
198666 zTest2 = sqlite3_mprintf("%s_internal_test", zName);
199801 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName, p->zWriteExprlist);
199804 zSql = sqlite3_mprintf(azSql[eStmt], p->zReadExprlist);
199806 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName);
200610 p->zSegmentsTbl = sqlite3_mprintf("%s_segments", p->zName);
201384 char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData);
202970 char *zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
204723 zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
208928 char *zMsg = sqlite3_mprintf("json_%s() needs an odd number of arguments",
211216 char *zMsg = sqlite3_mprintf("bad JSON path: %Q", zPath);
213263 cur->pVtab->zErrMsg = sqlite3_mprintf("malformed JSON");
214483 char *zCreate = sqlite3_mprintf(
216478 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", pRtree->zDb, pRtree->zName);
216489 pRtree->base.zErrMsg = sqlite3_mprintf(
216495 pRtree->base.zErrMsg = sqlite3_mprintf(
216684 char *zSql = sqlite3_mprintf(
216743 zSql = sqlite3_mprintf(zFmt, pRtree->zDb, pRtree->zName);
216887 zSql = sqlite3_mprintf(zFormat, zDb, zPrefix);
216896 pRtree->zReadAuxSql = sqlite3_mprintf(
216978 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", pRtree->zDb);
216986 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
216989 zSql = sqlite3_mprintf(
216995 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
216999 *pzErr = sqlite3_mprintf("undersize RTree blobs in \"%q_node\"",
217053 *pzErr = sqlite3_mprintf("%s", aErrMsg[2 + (argc>=6)]);
217107 *pzErr = sqlite3_mprintf("%s", aErrMsg[4]);
217110 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
217125 *pzErr = sqlite3_mprintf("%s", aErrMsg[iErr]);
217135 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
217312 pCheck->zReport = sqlite3_mprintf("%z%s%z",
217643 *pzErr = sqlite3_mprintf("In RTree %s.%s:\n%z",
219012 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
219023 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
219359 sqlite3_mprintf("_shape does not contain a valid polygon");
221992 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
222009 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(sqlite3_db_handle(pStmt)));
222241 sqlite3_mprintf(
222263 ** This is a wrapper around "sqlite3_mprintf(zFmt, ...)". If an OOM occurs,
222287 ** Argument zFmt is a sqlite3_mprintf() style format string. The trailing
222398 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
222461 sqlite3_mprintf(
222479 sqlite3_mprintf("PRAGMA index_list=%Q",zTab)
222487 sqlite3_mprintf(
222503 sqlite3_mprintf("PRAGMA table_info=%Q",zTab)
222534 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
222548 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
222595 p->zErrmsg = sqlite3_mprintf("no such table: %s", pIter->zTbl);
222609 sqlite3_mprintf("SELECT * FROM '%q'", pIter->zDataTbl)
222634 p->zErrmsg = sqlite3_mprintf(
222645 sqlite3_mprintf("PRAGMA table_info(%Q)", pIter->zTbl)
222656 p->zErrmsg = sqlite3_mprintf("column missing from %q: %s",
222767 sqlite3_mprintf(
222783 sqlite3_mprintf(
222839 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
222882 sqlite3_mprintf("SELECT %s FROM \"rbu_imp_%w\" ORDER BY %s LIMIT 1",
222961 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
222974 zRet = sqlite3_mprintf("%z%s(%.*s) COLLATE %Q", zRet, zCom,
222997 zRet = sqlite3_mprintf("%z%s\"%w\" COLLATE %Q", zRet, zCom,zCol,zCollate);
223002 zImpPK = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\"%s",
223006 zImpCols = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\" %s COLLATE %Q",
223009 zWhere = sqlite3_mprintf(
223063 zList = sqlite3_mprintf("%z%s%s.\"%w\"", zList, zS, zObj, zCol);
223065 zList = sqlite3_mprintf("%z%sNULL", zList, zS);
223135 p->zErrmsg = sqlite3_mprintf("invalid rbu_control value");
223246 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
223254 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
223320 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
223437 p->dbRbu, &pIter->pTmpInsert, &p->zErrmsg, sqlite3_mprintf(
223588 zLimit = sqlite3_mprintf(" LIMIT -1 OFFSET %d", nOffset);
223622 sqlite3_mprintf("INSERT INTO \"rbu_imp_%w\" VALUES(%s)", zTbl, zBind)
223630 sqlite3_mprintf("DELETE FROM \"rbu_imp_%w\" WHERE %s", zTbl, zWhere)
223647 zSql = sqlite3_mprintf(
223659 zSql = sqlite3_mprintf(
223665 zSql = sqlite3_mprintf(
223713 sqlite3_mprintf(
223725 sqlite3_mprintf(
223805 sqlite3_mprintf(
223894 zUpdate = sqlite3_mprintf("UPDATE \"%s%w\" SET %s WHERE %s",
223919 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
223958 sqlite3_mprintf("SELECT k, v FROM %s.rbu_state", p->zStateDb)
224084 p->zErrmsg = sqlite3_mprintf("invalid state database");
224128 p->zErrmsg = sqlite3_mprintf("cannot vacuum wal mode database");
224140 zTarget = sqlite3_mprintf("file:%s-vactmp?rbu_memory=1%s%s",
224186 p->zErrmsg = sqlite3_mprintf("rbu vfs not found");
224487 zOal = sqlite3_mprintf("%s-oal", zMove);
224488 zWal = sqlite3_mprintf("%s-wal", zMove);
224649 p->zErrmsg = sqlite3_mprintf("datatype mismatch");
224801 sqlite3_mprintf(
224858 sqlite3_mprintf("PRAGMA main.%s", zPragma)
225087 p->zErrmsg = sqlite3_mprintf("rbu_state mismatch error");
225168 sqlite3_mprintf("SELECT count(*) FROM sqlite_schema "
225315 p->zErrmsg = sqlite3_mprintf("cannot update wal mode database");
225333 p->zErrmsg = sqlite3_mprintf("database modified during rbu %s",
226132 pRbu->zErrmsg = sqlite3_mprintf("rbu/zipvfs setup error");
226154 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
226855 *pzErr = sqlite3_mprintf("no such database: %s", argv[3]);
227281 pCsr->aPage[0].zPath = z = sqlite3_mprintf("/");
227316 pCsr->zPath = z = sqlite3_mprintf(
227352 p[1].zPath = z = sqlite3_mprintf("%s%.3x/", p->zPath, p->iCell);
227389 pCsr->zPath = z = sqlite3_mprintf("%s", p->zPath);
228020 pVtab->zErrMsg = sqlite3_mprintf("%s", zErr);
229171 zPragma = sqlite3_mprintf(
229177 zPragma = sqlite3_mprintf("");
229182 zPragma = sqlite3_mprintf("PRAGMA '%q'.table_xinfo('%q')", zDb, zThis);
230134 zRet = sqlite3_mprintf("%z%s\"%w\".\"%w\".\"%w\"=\"%w\".\"%w\".\"%w\"",
230159 zRet = sqlite3_mprintf(
230170 zRet = sqlite3_mprintf("0");
230184 char *zRet = sqlite3_mprintf(
230241 zRet = sqlite3_mprintf("%z%s\"%w\".\"%w\".\"%w\"",
230265 char *zStmt = sqlite3_mprintf(
230335 zDbExists = sqlite3_mprintf("SELECT * FROM %Q.sqlite_schema", zFrom);
230360 *pzErrMsg = sqlite3_mprintf("no such table: %s.%s", zFrom, zTbl);
230377 *pzErrMsg = sqlite3_mprintf("table schemas do not match");
230979 zSql = sqlite3_mprintf(
230989 zSql = sqlite3_mprintf(
233353 zTab = sqlite3_mprintf("%s", zNew);
234182 pGrp->zDb = sqlite3_mprintf("%s", zDb);
238127 p->zOut = sqlite3_mprintf("%z%.*s", p->zOut, n, z);
239482 *pzErr = sqlite3_mprintf("malformed prefix=... directive");
239488 *pzErr = sqlite3_mprintf(
239501 *pzErr = sqlite3_mprintf("prefix length out of range (max 999)");
239522 *pzErr = sqlite3_mprintf("multiple tokenize=... directives");
239541 *pzErr = sqlite3_mprintf("parse error in tokenize directive");
239557 *pzErr = sqlite3_mprintf("multiple content=... directives");
239572 *pzErr = sqlite3_mprintf("malformed contentless_delete=... directive");
239582 *pzErr = sqlite3_mprintf("malformed contentless_delete=... directive");
239592 *pzErr = sqlite3_mprintf("multiple content_rowid=... directives");
239602 *pzErr = sqlite3_mprintf("malformed columnsize=... directive");
239612 *pzErr = sqlite3_mprintf("malformed locale=... directive");
239629 *pzErr = sqlite3_mprintf("malformed detail=... directive");
239636 *pzErr = sqlite3_mprintf("malformed tokendata=... directive");
239644 *pzErr = sqlite3_mprintf("unrecognized option: \"%.*s\"", nCmd, zCmd);
239714 *pzErr = sqlite3_mprintf("reserved fts5 column name: %s", zCol);
239721 *pzErr = sqlite3_mprintf("unrecognized column option: %s", zArg);
239813 *pzErr = sqlite3_mprintf("reserved fts5 table name: %s", pRet->zName);
239843 *pzErr = sqlite3_mprintf("parse error in \"%s\"", zOrig);
239868 *pzErr = sqlite3_mprintf(
239879 *pzErr = sqlite3_mprintf(
239892 *pzErr = sqlite3_mprintf(
242903 char *zNew2 = sqlite3_mprintf("%s%s", zApp, zNew);
242972 zRet = sqlite3_mprintf("{}");
242985 zRet = sqlite3_mprintf("%s", zOp);
243003 return sqlite3_mprintf("\"\"");
243112 zErr = sqlite3_mprintf("wrong number of arguments to function %s",
243149 zText = sqlite3_mprintf("");
245148 fts5IndexPrepareStmt(p, &p->pWriter, sqlite3_mprintf(
245172 char *zSql = sqlite3_mprintf(
245201 fts5IndexPrepareStmt(p, &p->pIdxDeleter, sqlite3_mprintf(
245487 sqlite3_mprintf("PRAGMA %Q.data_version", p->pConfig->zDb)
246848 fts5IndexPrepareStmt(p, &p->pIdxSelect, sqlite3_mprintf(
246949 fts5IndexPrepareStmt(p, &p->pIdxNextSelect, sqlite3_mprintf(
248832 fts5IndexPrepareStmt(p, &p->pIdxWriter, sqlite3_mprintf(
249287 fts5IndexPrepareStmt(p, &p->pDeleteFromIdx, sqlite3_mprintf(
249718 fts5IndexPrepareStmt(p, &pStmt, sqlite3_mprintf(
252630 fts5IndexPrepareStmt(p, &pStmt, sqlite3_mprintf(
254305 pTab->base.zErrMsg = sqlite3_mprintf(
254683 pCursor->pVtab->zErrMsg = sqlite3_mprintf(
254821 pTab->p.base.zErrMsg = sqlite3_mprintf("unknown special query: %.*s", n, z);
254886 pTab->p.base.zErrMsg = sqlite3_mprintf("no such function: %s", zRank);
254917 pCsr->base.pVtab->zErrMsg = sqlite3_mprintf(
257384 *pzErr = sqlite3_mprintf("malformed inverted index for FTS5 table %s.%s",
257388 *pzErr = sqlite3_mprintf("unable to validate the inverted index for"
257666 zSql = sqlite3_mprintf(azStmt[eStmt],
257673 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zContentExprlist,
257681 zSql = sqlite3_mprintf(azStmt[eStmt],
257721 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName,
257727 zSql = sqlite3_mprintf(azStmt[eStmt],
257734 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName);
257748 *pzErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pC->db));
257868 *pzErr = sqlite3_mprintf(
258651 zSql = sqlite3_mprintf("SELECT count(*) FROM %Q.'%q_%s'",
261813 *pzErr = sqlite3_mprintf("fts5vocab: unknown table type: %Q", zCopy);
261883 *pzErr = sqlite3_mprintf("wrong number of vtable arguments");
262033 pVTab->zErrMsg = sqlite3_mprintf(
262061 pVTab->zErrMsg = sqlite3_mprintf(