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() */
26490 zJson = sqlite3_mprintf(
32373 /* Special optimization for sqlite3_mprintf("%z..."):
32940 SQLITE_API char *sqlite3_mprintf(const char *zFormat, ...){
33993 char *z = sqlite3_mprintf("VECTOR%s",zFlgs);
42874 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
45290 zPath = sqlite3_mprintf("%s", zName);
49189 zCopy = sqlite3_mprintf("%s", zValue);
50987 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
54283 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
54607 zSql = sqlite3_mprintf("PRAGMA \"%w\".page_count", zSchema);
54683 zSql = sqlite3_mprintf("ATTACH x AS %Q", zSchema);
71692 zMsg = sqlite3_mprintf("database corruption page %u of %s",
91306 zMsg = sqlite3_mprintf("non-deterministic use of %s() in %s",
107238 pVTab->base.zErrMsg = sqlite3_mprintf(
122857 char *z = sqlite3_mprintf("%s.%s", zTab, zCol);
122858 if( db->nDb>2 || iDb!=0 ) z = sqlite3_mprintf("%s.%z", zDb, z);
130843 zBuf = sqlite3_mprintf("%!.*f",(int)n,r);
138842 #define sqlite3_mprintf sqlite3_api->mprintf
139289 sqlite3_mprintf,
139663 *pzErrMsg = sqlite3_mprintf("not authorized");
139687 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
139750 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
141686 sqlite3_temp_directory = sqlite3_mprintf("%s", zRight);
141727 sqlite3_data_directory = sqlite3_mprintf("%s", zRight);
143505 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
143636 pCsr->azArg[j] = sqlite3_mprintf("%s", zText);
143656 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db));
153732 z = sqlite3_mprintf("%s", colv[i]);
153738 p->zErrMsg = sqlite3_mprintf(
153816 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
166940 z = sqlite3_mprintf("(%d,\"%s\",%#x)",
166943 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
184834 zErr = sqlite3_mprintf(
184869 zCopy = sqlite3_mprintf("%s", zName);
185718 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
185763 *pzErrMsg = sqlite3_mprintf("unexpected %%00 in uri");
185850 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
185855 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
185881 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
189721 zCols = sqlite3_mprintf("%Q, ", p->azColumn[0]);
189723 zCols = sqlite3_mprintf("%z%Q, ", zCols, p->azColumn[i]);
189727 zSql = sqlite3_mprintf(
189774 zContentCols = sqlite3_mprintf("docid INTEGER PRIMARY KEY");
189777 zContentCols = sqlite3_mprintf("%z, 'c%d%q'", zContentCols, i, z);
189780 zContentCols = sqlite3_mprintf("%z, langid", zContentCols, zLanguageid);
189835 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", p->zDb);
189877 zValue = sqlite3_mprintf("%s", &zCsr[1]);
189901 char *z2 = sqlite3_mprintf("%s%s", *pz, z);
190186 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", zDb, zTbl);
190897 zSql = sqlite3_mprintf("SELECT %s WHERE rowid = ?", p->zReadExprlist);
192465 zSql = sqlite3_mprintf(
192471 zSql = sqlite3_mprintf("SELECT %s ORDER BY rowid %s",
192654 char *zTbl = sqlite3_mprintf("%s_stat", p->zName);
192776 char *zErr = sqlite3_mprintf("illegal first argument to %s", zFunc);
193021 char *zSql = sqlite3_mprintf("INSERT INTO %Q.%Q(%Q) VALUES('flush')",
193104 *pzErr = sqlite3_mprintf("unable to validate the inverted index for"
193109 *pzErr = sqlite3_mprintf("malformed inverted index for FTS%d table %s.%s",
195713 pCsr->filter.zTerm = sqlite3_mprintf("%s", zStr);
195720 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
196998 return sqlite3_mprintf("");
197004 zBuf = sqlite3_mprintf(
197007 zBuf = sqlite3_mprintf("%z %.*s%s", zBuf,
197016 zBuf = sqlite3_mprintf("%zNEAR/%d ", zBuf, pExpr->nNear);
197019 zBuf = sqlite3_mprintf("%zNOT ", zBuf);
197022 zBuf = sqlite3_mprintf("%zAND ", zBuf);
197025 zBuf = sqlite3_mprintf("%zOR ", zBuf);
197029 if( zBuf ) zBuf = sqlite3_mprintf("%z{", zBuf);
197031 if( zBuf ) zBuf = sqlite3_mprintf("%z} {", zBuf);
197034 if( zBuf ) zBuf = sqlite3_mprintf("%z}", zBuf);
198323 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName);
198398 zCopy = sqlite3_mprintf("%s", zArg);
198519 char *zErr2 = sqlite3_mprintf("unknown tokenizer: %s", zName);
198706 zTest = sqlite3_mprintf("%s_test", zName);
198707 zTest2 = sqlite3_mprintf("%s_internal_test", zName);
199842 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName, p->zWriteExprlist);
199845 zSql = sqlite3_mprintf(azSql[eStmt], p->zReadExprlist);
199847 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName);
200651 p->zSegmentsTbl = sqlite3_mprintf("%s_segments", p->zName);
201425 char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData);
203011 char *zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
204764 zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
208969 char *zMsg = sqlite3_mprintf("json_%s() needs an odd number of arguments",
211257 char *zMsg = sqlite3_mprintf("bad JSON path: %Q", zPath);
213304 cur->pVtab->zErrMsg = sqlite3_mprintf("malformed JSON");
214524 char *zCreate = sqlite3_mprintf(
216519 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", pRtree->zDb, pRtree->zName);
216530 pRtree->base.zErrMsg = sqlite3_mprintf(
216536 pRtree->base.zErrMsg = sqlite3_mprintf(
216725 char *zSql = sqlite3_mprintf(
216784 zSql = sqlite3_mprintf(zFmt, pRtree->zDb, pRtree->zName);
216928 zSql = sqlite3_mprintf(zFormat, zDb, zPrefix);
216937 pRtree->zReadAuxSql = sqlite3_mprintf(
217019 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", pRtree->zDb);
217027 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
217030 zSql = sqlite3_mprintf(
217036 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
217040 *pzErr = sqlite3_mprintf("undersize RTree blobs in \"%q_node\"",
217094 *pzErr = sqlite3_mprintf("%s", aErrMsg[2 + (argc>=6)]);
217148 *pzErr = sqlite3_mprintf("%s", aErrMsg[4]);
217151 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
217166 *pzErr = sqlite3_mprintf("%s", aErrMsg[iErr]);
217176 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
217353 pCheck->zReport = sqlite3_mprintf("%z%s%z",
217684 *pzErr = sqlite3_mprintf("In RTree %s.%s:\n%z",
219053 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
219064 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
219400 sqlite3_mprintf("_shape does not contain a valid polygon");
222033 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
222050 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(sqlite3_db_handle(pStmt)));
222282 sqlite3_mprintf(
222304 ** This is a wrapper around "sqlite3_mprintf(zFmt, ...)". If an OOM occurs,
222328 ** Argument zFmt is a sqlite3_mprintf() style format string. The trailing
222439 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
222502 sqlite3_mprintf(
222520 sqlite3_mprintf("PRAGMA index_list=%Q",zTab)
222528 sqlite3_mprintf(
222544 sqlite3_mprintf("PRAGMA table_info=%Q",zTab)
222575 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
222589 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
222636 p->zErrmsg = sqlite3_mprintf("no such table: %s", pIter->zTbl);
222650 sqlite3_mprintf("SELECT * FROM '%q'", pIter->zDataTbl)
222675 p->zErrmsg = sqlite3_mprintf(
222686 sqlite3_mprintf("PRAGMA table_info(%Q)", pIter->zTbl)
222697 p->zErrmsg = sqlite3_mprintf("column missing from %q: %s",
222808 sqlite3_mprintf(
222824 sqlite3_mprintf(
222880 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
222923 sqlite3_mprintf("SELECT %s FROM \"rbu_imp_%w\" ORDER BY %s LIMIT 1",
223002 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
223015 zRet = sqlite3_mprintf("%z%s(%.*s) COLLATE %Q", zRet, zCom,
223038 zRet = sqlite3_mprintf("%z%s\"%w\" COLLATE %Q", zRet, zCom,zCol,zCollate);
223043 zImpPK = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\"%s",
223047 zImpCols = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\" %s COLLATE %Q",
223050 zWhere = sqlite3_mprintf(
223104 zList = sqlite3_mprintf("%z%s%s.\"%w\"", zList, zS, zObj, zCol);
223106 zList = sqlite3_mprintf("%z%sNULL", zList, zS);
223176 p->zErrmsg = sqlite3_mprintf("invalid rbu_control value");
223287 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
223295 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
223361 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
223478 p->dbRbu, &pIter->pTmpInsert, &p->zErrmsg, sqlite3_mprintf(
223629 zLimit = sqlite3_mprintf(" LIMIT -1 OFFSET %d", nOffset);
223663 sqlite3_mprintf("INSERT INTO \"rbu_imp_%w\" VALUES(%s)", zTbl, zBind)
223671 sqlite3_mprintf("DELETE FROM \"rbu_imp_%w\" WHERE %s", zTbl, zWhere)
223688 zSql = sqlite3_mprintf(
223700 zSql = sqlite3_mprintf(
223706 zSql = sqlite3_mprintf(
223754 sqlite3_mprintf(
223766 sqlite3_mprintf(
223846 sqlite3_mprintf(
223935 zUpdate = sqlite3_mprintf("UPDATE \"%s%w\" SET %s WHERE %s",
223960 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
223999 sqlite3_mprintf("SELECT k, v FROM %s.rbu_state", p->zStateDb)
224125 p->zErrmsg = sqlite3_mprintf("invalid state database");
224169 p->zErrmsg = sqlite3_mprintf("cannot vacuum wal mode database");
224181 zTarget = sqlite3_mprintf("file:%s-vactmp?rbu_memory=1%s%s",
224227 p->zErrmsg = sqlite3_mprintf("rbu vfs not found");
224528 zOal = sqlite3_mprintf("%s-oal", zMove);
224529 zWal = sqlite3_mprintf("%s-wal", zMove);
224690 p->zErrmsg = sqlite3_mprintf("datatype mismatch");
224842 sqlite3_mprintf(
224899 sqlite3_mprintf("PRAGMA main.%s", zPragma)
225128 p->zErrmsg = sqlite3_mprintf("rbu_state mismatch error");
225209 sqlite3_mprintf("SELECT count(*) FROM sqlite_schema "
225356 p->zErrmsg = sqlite3_mprintf("cannot update wal mode database");
225374 p->zErrmsg = sqlite3_mprintf("database modified during rbu %s",
226173 pRbu->zErrmsg = sqlite3_mprintf("rbu/zipvfs setup error");
226195 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
226896 *pzErr = sqlite3_mprintf("no such database: %s", argv[3]);
227322 pCsr->aPage[0].zPath = z = sqlite3_mprintf("/");
227357 pCsr->zPath = z = sqlite3_mprintf(
227393 p[1].zPath = z = sqlite3_mprintf("%s%.3x/", p->zPath, p->iCell);
227430 pCsr->zPath = z = sqlite3_mprintf("%s", p->zPath);
228061 pVtab->zErrMsg = sqlite3_mprintf("%s", zErr);
229212 zPragma = sqlite3_mprintf(
229218 zPragma = sqlite3_mprintf("");
229223 zPragma = sqlite3_mprintf("PRAGMA '%q'.table_xinfo('%q')", zDb, zThis);
230175 zRet = sqlite3_mprintf("%z%s\"%w\".\"%w\".\"%w\"=\"%w\".\"%w\".\"%w\"",
230200 zRet = sqlite3_mprintf(
230211 zRet = sqlite3_mprintf("0");
230225 char *zRet = sqlite3_mprintf(
230282 zRet = sqlite3_mprintf("%z%s\"%w\".\"%w\".\"%w\"",
230306 char *zStmt = sqlite3_mprintf(
230376 zDbExists = sqlite3_mprintf("SELECT * FROM %Q.sqlite_schema", zFrom);
230401 *pzErrMsg = sqlite3_mprintf("no such table: %s.%s", zFrom, zTbl);
230418 *pzErrMsg = sqlite3_mprintf("table schemas do not match");
231020 zSql = sqlite3_mprintf(
231030 zSql = sqlite3_mprintf(
233394 zTab = sqlite3_mprintf("%s", zNew);
234223 pGrp->zDb = sqlite3_mprintf("%s", zDb);
238168 p->zOut = sqlite3_mprintf("%z%.*s", p->zOut, n, z);
239523 *pzErr = sqlite3_mprintf("malformed prefix=... directive");
239529 *pzErr = sqlite3_mprintf(
239542 *pzErr = sqlite3_mprintf("prefix length out of range (max 999)");
239563 *pzErr = sqlite3_mprintf("multiple tokenize=... directives");
239582 *pzErr = sqlite3_mprintf("parse error in tokenize directive");
239598 *pzErr = sqlite3_mprintf("multiple content=... directives");
239613 *pzErr = sqlite3_mprintf("malformed contentless_delete=... directive");
239623 *pzErr = sqlite3_mprintf("malformed contentless_delete=... directive");
239633 *pzErr = sqlite3_mprintf("multiple content_rowid=... directives");
239643 *pzErr = sqlite3_mprintf("malformed columnsize=... directive");
239653 *pzErr = sqlite3_mprintf("malformed locale=... directive");
239670 *pzErr = sqlite3_mprintf("malformed detail=... directive");
239677 *pzErr = sqlite3_mprintf("malformed tokendata=... directive");
239685 *pzErr = sqlite3_mprintf("unrecognized option: \"%.*s\"", nCmd, zCmd);
239755 *pzErr = sqlite3_mprintf("reserved fts5 column name: %s", zCol);
239762 *pzErr = sqlite3_mprintf("unrecognized column option: %s", zArg);
239854 *pzErr = sqlite3_mprintf("reserved fts5 table name: %s", pRet->zName);
239884 *pzErr = sqlite3_mprintf("parse error in \"%s\"", zOrig);
239909 *pzErr = sqlite3_mprintf(
239920 *pzErr = sqlite3_mprintf(
239933 *pzErr = sqlite3_mprintf(
242944 char *zNew2 = sqlite3_mprintf("%s%s", zApp, zNew);
243013 zRet = sqlite3_mprintf("{}");
243026 zRet = sqlite3_mprintf("%s", zOp);
243044 return sqlite3_mprintf("\"\"");
243153 zErr = sqlite3_mprintf("wrong number of arguments to function %s",
243190 zText = sqlite3_mprintf("");
245189 fts5IndexPrepareStmt(p, &p->pWriter, sqlite3_mprintf(
245213 char *zSql = sqlite3_mprintf(
245242 fts5IndexPrepareStmt(p, &p->pIdxDeleter, sqlite3_mprintf(
245528 sqlite3_mprintf("PRAGMA %Q.data_version", p->pConfig->zDb)
246889 fts5IndexPrepareStmt(p, &p->pIdxSelect, sqlite3_mprintf(
246990 fts5IndexPrepareStmt(p, &p->pIdxNextSelect, sqlite3_mprintf(
248873 fts5IndexPrepareStmt(p, &p->pIdxWriter, sqlite3_mprintf(
249328 fts5IndexPrepareStmt(p, &p->pDeleteFromIdx, sqlite3_mprintf(
249759 fts5IndexPrepareStmt(p, &pStmt, sqlite3_mprintf(
252671 fts5IndexPrepareStmt(p, &pStmt, sqlite3_mprintf(
254346 pTab->base.zErrMsg = sqlite3_mprintf(
254724 pCursor->pVtab->zErrMsg = sqlite3_mprintf(
254862 pTab->p.base.zErrMsg = sqlite3_mprintf("unknown special query: %.*s", n, z);
254927 pTab->p.base.zErrMsg = sqlite3_mprintf("no such function: %s", zRank);
254958 pCsr->base.pVtab->zErrMsg = sqlite3_mprintf(
257425 *pzErr = sqlite3_mprintf("malformed inverted index for FTS5 table %s.%s",
257429 *pzErr = sqlite3_mprintf("unable to validate the inverted index for"
257707 zSql = sqlite3_mprintf(azStmt[eStmt],
257714 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zContentExprlist,
257722 zSql = sqlite3_mprintf(azStmt[eStmt],
257762 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName,
257768 zSql = sqlite3_mprintf(azStmt[eStmt],
257775 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName);
257789 *pzErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pC->db));
257909 *pzErr = sqlite3_mprintf(
258692 zSql = sqlite3_mprintf("SELECT count(*) FROM %Q.'%q_%s'",
261854 *pzErr = sqlite3_mprintf("fts5vocab: unknown table type: %Q", zCopy);
261924 *pzErr = sqlite3_mprintf("wrong number of vtable arguments");
262074 pVTab->zErrMsg = sqlite3_mprintf(
262102 pVTab->zErrMsg = sqlite3_mprintf(