Lines Matching refs:sqlite3_mprintf
1313 ** of the char** argument point to a string obtained from [sqlite3_mprintf()]
3161 ** ^The sqlite3_mprintf() and sqlite3_vmprintf() routines write their
3191 SQLITE_API char *sqlite3_mprintf(const char*,...);
6451 ** sqlite3_temp_directory = sqlite3_mprintf("%s", zPathBuf);
7176 ** point to an appropriate error message (obtained from [sqlite3_mprintf()])
7525 ** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should
7534 char *zErrMsg; /* Error message from sqlite3_mprintf() */
29679 /* Special optimization for sqlite3_mprintf("%z..."):
30124 SQLITE_API char *sqlite3_mprintf(const char *zFormat, ...){
30963 char *z = sqlite3_mprintf("VECTOR%s",zFlgs);
38243 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
40493 zPath = sqlite3_mprintf("%s", zName);
44305 zCopy = sqlite3_mprintf("%s", zValue);
45927 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
48951 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
49275 zSql = sqlite3_mprintf("PRAGMA \"%w\".page_count", zSchema);
49343 zSql = sqlite3_mprintf("ATTACH x AS %Q", zSchema);
65713 zMsg = sqlite3_mprintf("database corruption page %d of %s",
84318 zMsg = sqlite3_mprintf("non-deterministic use of %s() in %s",
98800 pVTab->base.zErrMsg = sqlite3_mprintf(
109052 zErr = sqlite3_mprintf("error in %s %s%s%s: %s",
112882 char *z = sqlite3_mprintf("%s.%s", zTab, zCol);
112883 if( db->nDb>2 || iDb!=0 ) z = sqlite3_mprintf("%s.%z", zDb, z);
120595 zBuf = sqlite3_mprintf("%.*f",n,r);
127761 #define sqlite3_mprintf sqlite3_api->mprintf
128184 sqlite3_mprintf,
128523 *pzErrMsg = sqlite3_mprintf("not authorized");
128539 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
128600 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
130496 sqlite3_temp_directory = sqlite3_mprintf("%s", zRight);
130534 sqlite3_data_directory = sqlite3_mprintf("%s", zRight);
131989 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
132118 pCsr->azArg[j] = sqlite3_mprintf("%s", zText);
132138 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db));
140853 z = sqlite3_mprintf("%s", colv[i]);
140859 p->zErrMsg = sqlite3_mprintf(
140937 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
152525 z = sqlite3_mprintf("(%d,\"%s\",%#x)",
152528 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
168674 zErr = sqlite3_mprintf(
168709 zCopy = sqlite3_mprintf(zName);
169539 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
169584 *pzErrMsg = sqlite3_mprintf("unexpected %%00 in uri");
169671 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
169676 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
169702 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
173279 zCols = sqlite3_mprintf("%Q, ", p->azColumn[0]);
173281 zCols = sqlite3_mprintf("%z%Q, ", zCols, p->azColumn[i]);
173285 zSql = sqlite3_mprintf(
173332 zContentCols = sqlite3_mprintf("docid INTEGER PRIMARY KEY");
173335 zContentCols = sqlite3_mprintf("%z, 'c%d%q'", zContentCols, i, z);
173338 zContentCols = sqlite3_mprintf("%z, langid", zContentCols, zLanguageid);
173393 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", p->zDb);
173435 zValue = sqlite3_mprintf("%s", &zCsr[1]);
173459 char *z2 = sqlite3_mprintf("%s%s", *pz, z);
173744 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", zDb, zTbl);
174455 zSql = sqlite3_mprintf("SELECT %s WHERE rowid = ?", p->zReadExprlist);
176018 zSql = sqlite3_mprintf(
176024 zSql = sqlite3_mprintf("SELECT %s ORDER BY rowid %s",
176207 char *zTbl = sqlite3_mprintf("%s_stat", p->zName);
176329 char *zErr = sqlite3_mprintf("illegal first argument to %s", zFunc);
179167 pCsr->filter.zTerm = sqlite3_mprintf("%s", zStr);
179174 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
180427 return sqlite3_mprintf("");
180433 zBuf = sqlite3_mprintf(
180436 zBuf = sqlite3_mprintf("%z %.*s%s", zBuf,
180445 zBuf = sqlite3_mprintf("%zNEAR/%d ", zBuf, pExpr->nNear);
180448 zBuf = sqlite3_mprintf("%zNOT ", zBuf);
180451 zBuf = sqlite3_mprintf("%zAND ", zBuf);
180454 zBuf = sqlite3_mprintf("%zOR ", zBuf);
180458 if( zBuf ) zBuf = sqlite3_mprintf("%z{", zBuf);
180460 if( zBuf ) zBuf = sqlite3_mprintf("%z} {", zBuf);
180463 if( zBuf ) zBuf = sqlite3_mprintf("%z}", zBuf);
181753 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName);
181828 zCopy = sqlite3_mprintf("%s", zArg);
181953 char *zErr2 = sqlite3_mprintf("unknown tokenizer: %s", zName);
182140 zTest = sqlite3_mprintf("%s_test", zName);
182141 zTest2 = sqlite3_mprintf("%s_internal_test", zName);
183273 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName, p->zWriteExprlist);
183276 zSql = sqlite3_mprintf(azSql[eStmt], p->zReadExprlist);
183278 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName);
184082 p->zSegmentsTbl = sqlite3_mprintf("%s_segments", p->zName);
184856 char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData);
186435 char *zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
188178 zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
192567 return sqlite3_mprintf("JSON path error near '%q'", zErr);
192621 char *zMsg = sqlite3_mprintf("json_%s() needs an odd number of arguments",
193731 cur->pVtab->zErrMsg = sqlite3_mprintf("malformed JSON");
194674 char *zTab = sqlite3_mprintf("%s_node", pRtree->zName);
194992 char *zCreate = sqlite3_mprintf(
196005 if( iIdx>0 && 0==(pIdxInfo->idxStr = sqlite3_mprintf("%s", zIdxStr)) ){
197131 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", pRtree->zDb, pRtree->zName);
197142 pRtree->base.zErrMsg = sqlite3_mprintf(
197148 pRtree->base.zErrMsg = sqlite3_mprintf(
197335 char *zSql = sqlite3_mprintf(
197394 zSql = sqlite3_mprintf(zFmt, pRtree->zDb, pRtree->zName);
197534 zSql = sqlite3_mprintf(zFormat, zDb, zPrefix);
197543 pRtree->zReadAuxSql = sqlite3_mprintf(
197625 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", pRtree->zDb);
197633 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
197636 zSql = sqlite3_mprintf(
197642 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
197646 *pzErr = sqlite3_mprintf("undersize RTree blobs in \"%q_node\"",
197700 *pzErr = sqlite3_mprintf("%s", aErrMsg[2 + (argc>=6)]);
197749 *pzErr = sqlite3_mprintf("%s", aErrMsg[4]);
197752 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
197767 *pzErr = sqlite3_mprintf("%s", aErrMsg[iErr]);
197777 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
197954 pCheck->zReport = sqlite3_mprintf("%z%s%z",
199627 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
199638 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
199972 sqlite3_mprintf("_shape does not contain a valid polygon");
202517 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
202534 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(sqlite3_db_handle(pStmt)));
202765 sqlite3_mprintf(
202787 ** This is a wrapper around "sqlite3_mprintf(zFmt, ...)". If an OOM occurs,
202811 ** Argument zFmt is a sqlite3_mprintf() style format string. The trailing
202922 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
202985 sqlite3_mprintf(
203003 sqlite3_mprintf("PRAGMA index_list=%Q",zTab)
203011 sqlite3_mprintf(
203027 sqlite3_mprintf("PRAGMA table_info=%Q",zTab)
203058 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
203072 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
203119 p->zErrmsg = sqlite3_mprintf("no such table: %s", pIter->zTbl);
203133 sqlite3_mprintf("SELECT * FROM '%q'", pIter->zDataTbl)
203158 p->zErrmsg = sqlite3_mprintf(
203169 sqlite3_mprintf("PRAGMA table_info(%Q)", pIter->zTbl)
203180 p->zErrmsg = sqlite3_mprintf("column missing from %q: %s",
203291 sqlite3_mprintf(
203307 sqlite3_mprintf(
203363 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
203406 sqlite3_mprintf("SELECT %s FROM \"rbu_imp_%w\" ORDER BY %s LIMIT 1",
203485 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
203498 zRet = sqlite3_mprintf("%z%s(%.*s) COLLATE %Q", zRet, zCom,
203521 zRet = sqlite3_mprintf("%z%s\"%w\" COLLATE %Q", zRet, zCom,zCol,zCollate);
203526 zImpPK = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\"%s",
203530 zImpCols = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\" %s COLLATE %Q",
203533 zWhere = sqlite3_mprintf(
203587 zList = sqlite3_mprintf("%z%s%s.\"%w\"", zList, zS, zObj, zCol);
203589 zList = sqlite3_mprintf("%z%sNULL", zList, zS);
203659 p->zErrmsg = sqlite3_mprintf("invalid rbu_control value");
203770 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
203778 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
203844 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
203961 p->dbRbu, &pIter->pTmpInsert, &p->zErrmsg, sqlite3_mprintf(
204112 zLimit = sqlite3_mprintf(" LIMIT -1 OFFSET %d", nOffset);
204146 sqlite3_mprintf("INSERT INTO \"rbu_imp_%w\" VALUES(%s)", zTbl, zBind)
204154 sqlite3_mprintf("DELETE FROM \"rbu_imp_%w\" WHERE %s", zTbl, zWhere)
204171 zSql = sqlite3_mprintf(
204183 zSql = sqlite3_mprintf(
204189 zSql = sqlite3_mprintf(
204237 sqlite3_mprintf(
204249 sqlite3_mprintf(
204329 sqlite3_mprintf(
204418 zUpdate = sqlite3_mprintf("UPDATE \"%s%w\" SET %s WHERE %s",
204443 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
204482 sqlite3_mprintf("SELECT k, v FROM %s.rbu_state", p->zStateDb)
204608 p->zErrmsg = sqlite3_mprintf("invalid state database");
204652 p->zErrmsg = sqlite3_mprintf("cannot vacuum wal mode database");
204664 zTarget = sqlite3_mprintf("file:%s-vactmp?rbu_memory=1%s%s",
204710 p->zErrmsg = sqlite3_mprintf("rbu vfs not found");
204993 zOal = sqlite3_mprintf("%s-oal", zMove);
204994 zWal = sqlite3_mprintf("%s-wal", zMove);
205180 p->zErrmsg = sqlite3_mprintf("datatype mismatch");
205332 sqlite3_mprintf(
205389 sqlite3_mprintf("PRAGMA main.%s", zPragma)
205618 p->zErrmsg = sqlite3_mprintf("rbu_state mismatch error");
205697 sqlite3_mprintf("SELECT count(*) FROM sqlite_schema "
205843 p->zErrmsg = sqlite3_mprintf("cannot update wal mode database");
205861 p->zErrmsg = sqlite3_mprintf("database modified during rbu %s",
206608 pRbu->zErrmsg = sqlite3_mprintf("rbu/zipvfs setup error");
206630 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
207303 *pzErr = sqlite3_mprintf("no such database: %s", argv[3]);
207727 pCsr->aPage[0].zPath = z = sqlite3_mprintf("/");
207762 pCsr->zPath = z = sqlite3_mprintf(
207798 p[1].zPath = z = sqlite3_mprintf("%s%.3x/", p->zPath, p->iCell);
207835 pCsr->zPath = z = sqlite3_mprintf("%s", p->zPath);
208396 pVtab->zErrMsg = sqlite3_mprintf("%s", zErr);
209473 zPragma = sqlite3_mprintf(
209479 zPragma = sqlite3_mprintf("");
209488 zPragma = sqlite3_mprintf("PRAGMA '%q'.table_info('%q')", zDb, zThis);
210061 zRet = sqlite3_mprintf("%z%s\"%w\".\"%w\".\"%w\"=\"%w\".\"%w\".\"%w\"",
210086 zRet = sqlite3_mprintf(
210097 zRet = sqlite3_mprintf("0");
210110 char *zRet = sqlite3_mprintf(
210164 char *zStmt = sqlite3_mprintf(
210241 *pzErrMsg = sqlite3_mprintf("table schemas do not match");
210856 zSql = sqlite3_mprintf(
213154 zTab = sqlite3_mprintf("%s", zNew);
217341 p->zOut = sqlite3_mprintf("%z%.*s", p->zOut, n, z);
218588 *pzErr = sqlite3_mprintf("malformed prefix=... directive");
218594 *pzErr = sqlite3_mprintf(
218607 *pzErr = sqlite3_mprintf("prefix length out of range (max 999)");
218629 *pzErr = sqlite3_mprintf("multiple tokenize=... directives");
218648 *pzErr = sqlite3_mprintf("parse error in tokenize directive");
218666 *pzErr = sqlite3_mprintf("multiple content=... directives");
218681 *pzErr = sqlite3_mprintf("multiple content_rowid=... directives");
218691 *pzErr = sqlite3_mprintf("malformed columnsize=... directive");
218708 *pzErr = sqlite3_mprintf("malformed detail=... directive");
218713 *pzErr = sqlite3_mprintf("unrecognized option: \"%.*s\"", nCmd, zCmd);
218792 *pzErr = sqlite3_mprintf("reserved fts5 column name: %s", zCol);
218798 *pzErr = sqlite3_mprintf("unrecognized column option: %s", zArg);
218873 *pzErr = sqlite3_mprintf("reserved fts5 table name: %s", pRet->zName);
218902 *pzErr = sqlite3_mprintf("parse error in \"%s\"", zOrig);
219278 *pConfig->pzErrmsg = sqlite3_mprintf(
221743 char *zNew2 = sqlite3_mprintf("%s%s", zApp, zNew);
221821 zRet = sqlite3_mprintf("%s", zOp);
221839 return sqlite3_mprintf("\"\"");
221948 zErr = sqlite3_mprintf("wrong number of arguments to function %s",
221985 zText = sqlite3_mprintf("");
223671 fts5IndexPrepareStmt(p, &p->pWriter, sqlite3_mprintf(
223695 char *zSql = sqlite3_mprintf(
223717 fts5IndexPrepareStmt(p, &p->pIdxDeleter, sqlite3_mprintf(
223988 sqlite3_mprintf("PRAGMA %Q.data_version", p->pConfig->zDb)
225331 fts5IndexPrepareStmt(p, &p->pIdxSelect, sqlite3_mprintf(
227104 fts5IndexPrepareStmt(p, &p->pIdxWriter, sqlite3_mprintf(
229011 fts5IndexPrepareStmt(p, &pStmt, sqlite3_mprintf(
230312 pTab->base.zErrMsg = sqlite3_mprintf(
230675 pCursor->pVtab->zErrMsg = sqlite3_mprintf(
230710 *pConfig->pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(pConfig->db));
230812 pTab->p.base.zErrMsg = sqlite3_mprintf("unknown special query: %.*s", n, z);
230877 pTab->p.base.zErrMsg = sqlite3_mprintf("no such function: %s", zRank);
230908 pCsr->base.pVtab->zErrMsg = sqlite3_mprintf(
230969 pTab->p.base.zErrMsg = sqlite3_mprintf(
231105 *pConfig->pzErrmsg = sqlite3_mprintf(
231225 *pTab->pConfig->pzErrmsg = sqlite3_mprintf(
231417 pTab->p.base.zErrMsg = sqlite3_mprintf(
232114 char *zErr = sqlite3_mprintf("no such cursor: %lld", iCsrId);
232470 *pzErr = sqlite3_mprintf("no such tokenizer: %s", azArg[0]);
232477 if( pzErr ) *pzErr = sqlite3_mprintf("error in tokenizer constructor");
232760 zSql = sqlite3_mprintf(azStmt[eStmt],
232767 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zContentExprlist,
232774 zSql = sqlite3_mprintf(azStmt[eStmt],
232792 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName, zBind);
232799 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName);
232813 *pzErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pC->db));
232928 *pzErr = sqlite3_mprintf(
233448 zSql = sqlite3_mprintf("SELECT count(*) FROM %Q.'%q_%s'",
236496 *pzErr = sqlite3_mprintf("fts5vocab: unknown table type: %Q", zCopy);
236566 *pzErr = sqlite3_mprintf("wrong number of vtable arguments");
236714 pVTab->zErrMsg = sqlite3_mprintf(
236742 pVTab->zErrMsg = sqlite3_mprintf(