Lines Matching refs:sqlite3_mprintf
3236 SQLITE_API char *sqlite3_mprintf(const char*,...);
31202 SQLITE_API char *sqlite3_mprintf(const char *zFormat, ...){
32135 char *z = sqlite3_mprintf("VECTOR%s",zFlgs);
40776 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
43044 zPath = sqlite3_mprintf("%s", zName);
46865 zCopy = sqlite3_mprintf("%s", zValue);
48492 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
51593 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
51917 zSql = sqlite3_mprintf("PRAGMA \"%w\".page_count", zSchema);
51985 zSql = sqlite3_mprintf("ATTACH x AS %Q", zSchema);
68566 zMsg = sqlite3_mprintf("database corruption page %d of %s",
87528 zMsg = sqlite3_mprintf("non-deterministic use of %s() in %s",
102671 pVTab->base.zErrMsg = sqlite3_mprintf(
117094 char *z = sqlite3_mprintf("%s.%s", zTab, zCol);
117095 if( db->nDb>2 || iDb!=0 ) z = sqlite3_mprintf("%s.%z", zDb, z);
124931 zBuf = sqlite3_mprintf("%.*f",n,r);
132178 #define sqlite3_mprintf sqlite3_api->mprintf
132621 sqlite3_mprintf,
132996 *pzErrMsg = sqlite3_mprintf("not authorized");
133012 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
133073 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
135030 sqlite3_temp_directory = sqlite3_mprintf("%s", zRight);
135071 sqlite3_data_directory = sqlite3_mprintf("%s", zRight);
136692 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
136821 pCsr->azArg[j] = sqlite3_mprintf("%s", zText);
136841 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db));
146018 z = sqlite3_mprintf("%s", colv[i]);
146024 p->zErrMsg = sqlite3_mprintf(
146102 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
158503 z = sqlite3_mprintf("(%d,\"%s\",%#x)",
158506 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
175303 zErr = sqlite3_mprintf(
175338 zCopy = sqlite3_mprintf("%s", zName);
176181 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
176226 *pzErrMsg = sqlite3_mprintf("unexpected %%00 in uri");
176313 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
176318 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
176344 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
180073 zCols = sqlite3_mprintf("%Q, ", p->azColumn[0]);
180075 zCols = sqlite3_mprintf("%z%Q, ", zCols, p->azColumn[i]);
180079 zSql = sqlite3_mprintf(
180126 zContentCols = sqlite3_mprintf("docid INTEGER PRIMARY KEY");
180129 zContentCols = sqlite3_mprintf("%z, 'c%d%q'", zContentCols, i, z);
180132 zContentCols = sqlite3_mprintf("%z, langid", zContentCols, zLanguageid);
180187 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", p->zDb);
180229 zValue = sqlite3_mprintf("%s", &zCsr[1]);
180253 char *z2 = sqlite3_mprintf("%s%s", *pz, z);
180538 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", zDb, zTbl);
181249 zSql = sqlite3_mprintf("SELECT %s WHERE rowid = ?", p->zReadExprlist);
182812 zSql = sqlite3_mprintf(
182818 zSql = sqlite3_mprintf("SELECT %s ORDER BY rowid %s",
183001 char *zTbl = sqlite3_mprintf("%s_stat", p->zName);
183123 char *zErr = sqlite3_mprintf("illegal first argument to %s", zFunc);
185970 pCsr->filter.zTerm = sqlite3_mprintf("%s", zStr);
185977 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
187230 return sqlite3_mprintf("");
187236 zBuf = sqlite3_mprintf(
187239 zBuf = sqlite3_mprintf("%z %.*s%s", zBuf,
187248 zBuf = sqlite3_mprintf("%zNEAR/%d ", zBuf, pExpr->nNear);
187251 zBuf = sqlite3_mprintf("%zNOT ", zBuf);
187254 zBuf = sqlite3_mprintf("%zAND ", zBuf);
187257 zBuf = sqlite3_mprintf("%zOR ", zBuf);
187261 if( zBuf ) zBuf = sqlite3_mprintf("%z{", zBuf);
187263 if( zBuf ) zBuf = sqlite3_mprintf("%z} {", zBuf);
187266 if( zBuf ) zBuf = sqlite3_mprintf("%z}", zBuf);
188556 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName);
188631 zCopy = sqlite3_mprintf("%s", zArg);
188756 char *zErr2 = sqlite3_mprintf("unknown tokenizer: %s", zName);
188943 zTest = sqlite3_mprintf("%s_test", zName);
188944 zTest2 = sqlite3_mprintf("%s_internal_test", zName);
190078 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName, p->zWriteExprlist);
190081 zSql = sqlite3_mprintf(azSql[eStmt], p->zReadExprlist);
190083 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName);
190887 p->zSegmentsTbl = sqlite3_mprintf("%s_segments", p->zName);
191661 char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData);
193242 char *zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
194988 zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
199308 return sqlite3_mprintf("JSON path error near '%q'", zErr);
199362 char *zMsg = sqlite3_mprintf("json_%s() needs an odd number of arguments",
200559 cur->pVtab->zErrMsg = sqlite3_mprintf("malformed JSON");
201462 char *zTab = sqlite3_mprintf("%s_node", pRtree->zName);
201780 char *zCreate = sqlite3_mprintf(
202793 if( iIdx>0 && 0==(pIdxInfo->idxStr = sqlite3_mprintf("%s", zIdxStr)) ){
203919 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", pRtree->zDb, pRtree->zName);
203930 pRtree->base.zErrMsg = sqlite3_mprintf(
203936 pRtree->base.zErrMsg = sqlite3_mprintf(
204123 char *zSql = sqlite3_mprintf(
204182 zSql = sqlite3_mprintf(zFmt, pRtree->zDb, pRtree->zName);
204322 zSql = sqlite3_mprintf(zFormat, zDb, zPrefix);
204331 pRtree->zReadAuxSql = sqlite3_mprintf(
204413 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", pRtree->zDb);
204421 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
204424 zSql = sqlite3_mprintf(
204430 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
204434 *pzErr = sqlite3_mprintf("undersize RTree blobs in \"%q_node\"",
204488 *pzErr = sqlite3_mprintf("%s", aErrMsg[2 + (argc>=6)]);
204537 *pzErr = sqlite3_mprintf("%s", aErrMsg[4]);
204540 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
204555 *pzErr = sqlite3_mprintf("%s", aErrMsg[iErr]);
204565 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
204742 pCheck->zReport = sqlite3_mprintf("%z%s%z",
206412 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
206423 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
206757 sqlite3_mprintf("_shape does not contain a valid polygon");
209333 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
209350 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(sqlite3_db_handle(pStmt)));
209581 sqlite3_mprintf(
209738 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
209801 sqlite3_mprintf(
209819 sqlite3_mprintf("PRAGMA index_list=%Q",zTab)
209827 sqlite3_mprintf(
209843 sqlite3_mprintf("PRAGMA table_info=%Q",zTab)
209874 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
209888 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
209935 p->zErrmsg = sqlite3_mprintf("no such table: %s", pIter->zTbl);
209949 sqlite3_mprintf("SELECT * FROM '%q'", pIter->zDataTbl)
209974 p->zErrmsg = sqlite3_mprintf(
209985 sqlite3_mprintf("PRAGMA table_info(%Q)", pIter->zTbl)
209996 p->zErrmsg = sqlite3_mprintf("column missing from %q: %s",
210107 sqlite3_mprintf(
210123 sqlite3_mprintf(
210179 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
210222 sqlite3_mprintf("SELECT %s FROM \"rbu_imp_%w\" ORDER BY %s LIMIT 1",
210301 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
210314 zRet = sqlite3_mprintf("%z%s(%.*s) COLLATE %Q", zRet, zCom,
210337 zRet = sqlite3_mprintf("%z%s\"%w\" COLLATE %Q", zRet, zCom,zCol,zCollate);
210342 zImpPK = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\"%s",
210346 zImpCols = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\" %s COLLATE %Q",
210349 zWhere = sqlite3_mprintf(
210403 zList = sqlite3_mprintf("%z%s%s.\"%w\"", zList, zS, zObj, zCol);
210405 zList = sqlite3_mprintf("%z%sNULL", zList, zS);
210475 p->zErrmsg = sqlite3_mprintf("invalid rbu_control value");
210586 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
210594 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
210660 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
210777 p->dbRbu, &pIter->pTmpInsert, &p->zErrmsg, sqlite3_mprintf(
210928 zLimit = sqlite3_mprintf(" LIMIT -1 OFFSET %d", nOffset);
210962 sqlite3_mprintf("INSERT INTO \"rbu_imp_%w\" VALUES(%s)", zTbl, zBind)
210970 sqlite3_mprintf("DELETE FROM \"rbu_imp_%w\" WHERE %s", zTbl, zWhere)
210987 zSql = sqlite3_mprintf(
210999 zSql = sqlite3_mprintf(
211005 zSql = sqlite3_mprintf(
211053 sqlite3_mprintf(
211065 sqlite3_mprintf(
211145 sqlite3_mprintf(
211234 zUpdate = sqlite3_mprintf("UPDATE \"%s%w\" SET %s WHERE %s",
211259 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
211298 sqlite3_mprintf("SELECT k, v FROM %s.rbu_state", p->zStateDb)
211424 p->zErrmsg = sqlite3_mprintf("invalid state database");
211468 p->zErrmsg = sqlite3_mprintf("cannot vacuum wal mode database");
211480 zTarget = sqlite3_mprintf("file:%s-vactmp?rbu_memory=1%s%s",
211526 p->zErrmsg = sqlite3_mprintf("rbu vfs not found");
211809 zOal = sqlite3_mprintf("%s-oal", zMove);
211810 zWal = sqlite3_mprintf("%s-wal", zMove);
211971 p->zErrmsg = sqlite3_mprintf("datatype mismatch");
212123 sqlite3_mprintf(
212180 sqlite3_mprintf("PRAGMA main.%s", zPragma)
212409 p->zErrmsg = sqlite3_mprintf("rbu_state mismatch error");
212488 sqlite3_mprintf("SELECT count(*) FROM sqlite_schema "
212635 p->zErrmsg = sqlite3_mprintf("cannot update wal mode database");
212653 p->zErrmsg = sqlite3_mprintf("database modified during rbu %s",
213448 pRbu->zErrmsg = sqlite3_mprintf("rbu/zipvfs setup error");
213470 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
214143 *pzErr = sqlite3_mprintf("no such database: %s", argv[3]);
214567 pCsr->aPage[0].zPath = z = sqlite3_mprintf("/");
214602 pCsr->zPath = z = sqlite3_mprintf(
214638 p[1].zPath = z = sqlite3_mprintf("%s%.3x/", p->zPath, p->iCell);
214675 pCsr->zPath = z = sqlite3_mprintf("%s", p->zPath);
215244 pVtab->zErrMsg = sqlite3_mprintf("%s", zErr);
216322 zPragma = sqlite3_mprintf(
216328 zPragma = sqlite3_mprintf("");
216337 zPragma = sqlite3_mprintf("PRAGMA '%q'.table_info('%q')", zDb, zThis);
216910 zRet = sqlite3_mprintf("%z%s\"%w\".\"%w\".\"%w\"=\"%w\".\"%w\".\"%w\"",
216935 zRet = sqlite3_mprintf(
216946 zRet = sqlite3_mprintf("0");
216959 char *zRet = sqlite3_mprintf(
217013 char *zStmt = sqlite3_mprintf(
217090 *pzErrMsg = sqlite3_mprintf("table schemas do not match");
217705 zSql = sqlite3_mprintf(
220023 zTab = sqlite3_mprintf("%s", zNew);
224210 p->zOut = sqlite3_mprintf("%z%.*s", p->zOut, n, z);
225457 *pzErr = sqlite3_mprintf("malformed prefix=... directive");
225463 *pzErr = sqlite3_mprintf(
225476 *pzErr = sqlite3_mprintf("prefix length out of range (max 999)");
225498 *pzErr = sqlite3_mprintf("multiple tokenize=... directives");
225517 *pzErr = sqlite3_mprintf("parse error in tokenize directive");
225535 *pzErr = sqlite3_mprintf("multiple content=... directives");
225550 *pzErr = sqlite3_mprintf("multiple content_rowid=... directives");
225560 *pzErr = sqlite3_mprintf("malformed columnsize=... directive");
225577 *pzErr = sqlite3_mprintf("malformed detail=... directive");
225582 *pzErr = sqlite3_mprintf("unrecognized option: \"%.*s\"", nCmd, zCmd);
225661 *pzErr = sqlite3_mprintf("reserved fts5 column name: %s", zCol);
225667 *pzErr = sqlite3_mprintf("unrecognized column option: %s", zArg);
225742 *pzErr = sqlite3_mprintf("reserved fts5 table name: %s", pRet->zName);
225771 *pzErr = sqlite3_mprintf("parse error in \"%s\"", zOrig);
226147 *pConfig->pzErrmsg = sqlite3_mprintf(
228615 char *zNew2 = sqlite3_mprintf("%s%s", zApp, zNew);
228693 zRet = sqlite3_mprintf("%s", zOp);
228711 return sqlite3_mprintf("\"\"");
228820 zErr = sqlite3_mprintf("wrong number of arguments to function %s",
228857 zText = sqlite3_mprintf("");
230543 fts5IndexPrepareStmt(p, &p->pWriter, sqlite3_mprintf(
230567 char *zSql = sqlite3_mprintf(
230589 fts5IndexPrepareStmt(p, &p->pIdxDeleter, sqlite3_mprintf(
230860 sqlite3_mprintf("PRAGMA %Q.data_version", p->pConfig->zDb)
232203 fts5IndexPrepareStmt(p, &p->pIdxSelect, sqlite3_mprintf(
233978 fts5IndexPrepareStmt(p, &p->pIdxWriter, sqlite3_mprintf(
235885 fts5IndexPrepareStmt(p, &pStmt, sqlite3_mprintf(
237187 pTab->base.zErrMsg = sqlite3_mprintf(
237550 pCursor->pVtab->zErrMsg = sqlite3_mprintf(
237585 *pConfig->pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(pConfig->db));
237687 pTab->p.base.zErrMsg = sqlite3_mprintf("unknown special query: %.*s", n, z);
237752 pTab->p.base.zErrMsg = sqlite3_mprintf("no such function: %s", zRank);
237783 pCsr->base.pVtab->zErrMsg = sqlite3_mprintf(
237844 pTab->p.base.zErrMsg = sqlite3_mprintf(
237980 *pConfig->pzErrmsg = sqlite3_mprintf(
238100 *pTab->pConfig->pzErrmsg = sqlite3_mprintf(
238292 pTab->p.base.zErrMsg = sqlite3_mprintf(
238989 char *zErr = sqlite3_mprintf("no such cursor: %lld", iCsrId);
239345 *pzErr = sqlite3_mprintf("no such tokenizer: %s", azArg[0]);
239352 if( pzErr ) *pzErr = sqlite3_mprintf("error in tokenizer constructor");
239635 zSql = sqlite3_mprintf(azStmt[eStmt],
239642 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zContentExprlist,
239649 zSql = sqlite3_mprintf(azStmt[eStmt],
239667 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName, zBind);
239674 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName);
239688 *pzErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pC->db));
239803 *pzErr = sqlite3_mprintf(
240323 zSql = sqlite3_mprintf("SELECT count(*) FROM %Q.'%q_%s'",
243371 *pzErr = sqlite3_mprintf("fts5vocab: unknown table type: %Q", zCopy);
243441 *pzErr = sqlite3_mprintf("wrong number of vtable arguments");
243589 pVTab->zErrMsg = sqlite3_mprintf(
243617 pVTab->zErrMsg = sqlite3_mprintf(
245596 char *iter = sqlite3_mprintf("%d", ctx->writeCtx->iter);
245650 char *sql = sqlite3_mprintf("PRAGMA %s;", metaName);
245668 sql = sqlite3_mprintf("PRAGMA %s.%s=%d;", dbName, metaName, metadata);
245725 …sql = sqlite3_mprintf("SELECT 'CREATE TABLE %s.' || substr(sql,14) FROM sqlite_master WHERE type='…
245735 …sql = sqlite3_mprintf("SELECT 'CREATE INDEX %s.' || substr(sql,14) FROM sqlite_master WHERE sql LI…
245745 …sql = sqlite3_mprintf("SELECT 'CREATE UNIQUE INDEX %s.' || substr(sql,21) FROM sqlite_master WHERE…
245755 …sql = sqlite3_mprintf("SELECT 'INSERT INTO %s.' || quote(name) || ' SELECT * FROM main.' || quote(…
245765 …sql = sqlite3_mprintf("SELECT 'DELETE FROM %s.' || quote(name) || ';' FROM %s.sqlite_master WHERE …
245775 …sql = sqlite3_mprintf("SELECT 'INSERT INTO %s.' || quote(name) || ' SELECT * FROM main.' || quote(…
245785 …sql = sqlite3_mprintf("INSERT INTO %s.sqlite_master SELECT type, name, tbl_name, rootpage, sql FRO…