Lines Matching refs:sqlite3_mprintf

2004 ** of the char** argument point to a string obtained from [sqlite3_mprintf()]
3813 ** ^The sqlite3_mprintf() and sqlite3_vmprintf() routines write their
3843 SQLITE_API char *sqlite3_mprintf(const char*,...);
7070 ** sqlite3_temp_directory = sqlite3_mprintf("%s", zPathBuf);
7678 ** point to an appropriate error message (obtained from [sqlite3_mprintf()])
8027 ** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should
8036 char *zErrMsg; /* Error message from sqlite3_mprintf() */
28848 /* Special optimization for sqlite3_mprintf("%z..."):
29274 SQLITE_API char *sqlite3_mprintf(const char *zFormat, ...){
30093 char *z = sqlite3_mprintf("VECTOR%s",zFlgs);
37433 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
39591 zPath = sqlite3_mprintf("%s", zName);
43522 zCopy = sqlite3_mprintf("%s", zValue);
45144 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
48000 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
48246 zSql = sqlite3_mprintf("PRAGMA \"%w\".page_count", zSchema);
48313 zSql = sqlite3_mprintf("ATTACH x AS %Q", zSchema);
64454 zMsg = sqlite3_mprintf("database corruption page %d of %s",
82661 zMsg = sqlite3_mprintf("non-deterministic use of %s() in %s",
96759 pVTab->base.zErrMsg = sqlite3_mprintf(
106453 zErr = sqlite3_mprintf("error in %s %s%s: %s",
109893 char *z = sqlite3_mprintf("%s.%s", zTab, zCol);
109894 if( db->nDb>2 || iDb!=0 ) z = sqlite3_mprintf("%s.%z", zDb, z);
117063 zBuf = sqlite3_mprintf("%.*f",n,r);
123629 #define sqlite3_mprintf sqlite3_api->mprintf
124045 sqlite3_mprintf,
124377 *pzErrMsg = sqlite3_mprintf("not authorized");
124387 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
124457 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
126316 sqlite3_temp_directory = sqlite3_mprintf("%s", zRight);
126354 sqlite3_data_directory = sqlite3_mprintf("%s", zRight);
127667 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
127796 pCsr->azArg[j] = sqlite3_mprintf("%s", zText);
127816 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db));
135712 z = sqlite3_mprintf("%s", colv[i]);
135718 p->zErrMsg = sqlite3_mprintf(
135796 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
146647 z = sqlite3_mprintf("(%d,\"%s\",%#x)",
146650 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
162197 zErr = sqlite3_mprintf(
162232 zCopy = sqlite3_mprintf(zName);
163028 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
163073 *pzErrMsg = sqlite3_mprintf("unexpected %%00 in uri");
163160 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
163165 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
163191 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
166679 zCols = sqlite3_mprintf("%Q, ", p->azColumn[0]);
166681 zCols = sqlite3_mprintf("%z%Q, ", zCols, p->azColumn[i]);
166685 zSql = sqlite3_mprintf(
166732 zContentCols = sqlite3_mprintf("docid INTEGER PRIMARY KEY");
166735 zContentCols = sqlite3_mprintf("%z, 'c%d%q'", zContentCols, i, z);
166738 zContentCols = sqlite3_mprintf("%z, langid", zContentCols, zLanguageid);
166793 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", p->zDb);
166835 zValue = sqlite3_mprintf("%s", &zCsr[1]);
166859 char *z2 = sqlite3_mprintf("%s%s", *pz, z);
167144 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", zDb, zTbl);
167855 zSql = sqlite3_mprintf("SELECT %s WHERE rowid = ?", p->zReadExprlist);
169415 zSql = sqlite3_mprintf(
169421 zSql = sqlite3_mprintf("SELECT %s ORDER BY rowid %s",
169604 char *zTbl = sqlite3_mprintf("%s_stat", p->zName);
169720 char *zErr = sqlite3_mprintf("illegal first argument to %s", zFunc);
172541 pCsr->filter.zTerm = sqlite3_mprintf("%s", zStr);
172548 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
173796 return sqlite3_mprintf("");
173802 zBuf = sqlite3_mprintf(
173805 zBuf = sqlite3_mprintf("%z %.*s%s", zBuf,
173814 zBuf = sqlite3_mprintf("%zNEAR/%d ", zBuf, pExpr->nNear);
173817 zBuf = sqlite3_mprintf("%zNOT ", zBuf);
173820 zBuf = sqlite3_mprintf("%zAND ", zBuf);
173823 zBuf = sqlite3_mprintf("%zOR ", zBuf);
173827 if( zBuf ) zBuf = sqlite3_mprintf("%z{", zBuf);
173829 if( zBuf ) zBuf = sqlite3_mprintf("%z} {", zBuf);
173832 if( zBuf ) zBuf = sqlite3_mprintf("%z}", zBuf);
175122 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName);
175197 zCopy = sqlite3_mprintf("%s", zArg);
175322 char *zErr2 = sqlite3_mprintf("unknown tokenizer: %s", zName);
175509 zTest = sqlite3_mprintf("%s_test", zName);
175510 zTest2 = sqlite3_mprintf("%s_internal_test", zName);
176639 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName, p->zWriteExprlist);
176642 zSql = sqlite3_mprintf(azSql[eStmt], p->zReadExprlist);
176644 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName);
177448 p->zSegmentsTbl = sqlite3_mprintf("%s_segments", p->zName);
178214 char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData);
179783 char *zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
181519 zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
185846 return sqlite3_mprintf("JSON path error near '%q'", zErr);
185900 char *zMsg = sqlite3_mprintf("json_%s() needs an odd number of arguments",
186975 cur->pVtab->zErrMsg = sqlite3_mprintf("malformed JSON");
187893 char *zTab = sqlite3_mprintf("%s_node", pRtree->zName);
188211 char *zCreate = sqlite3_mprintf(
189210 if( iIdx>0 && 0==(pIdxInfo->idxStr = sqlite3_mprintf("%s", zIdxStr)) ){
190322 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", pRtree->zDb, pRtree->zName);
190333 pRtree->base.zErrMsg = sqlite3_mprintf(
190339 pRtree->base.zErrMsg = sqlite3_mprintf(
190526 char *zSql = sqlite3_mprintf(
190585 zSql = sqlite3_mprintf(zFmt, pRtree->zDb, pRtree->zName);
190735 zSql = sqlite3_mprintf(zFormat, zDb, zPrefix);
190744 pRtree->zReadAuxSql = sqlite3_mprintf(
190823 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", pRtree->zDb);
190831 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
190834 zSql = sqlite3_mprintf(
190840 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
190844 *pzErr = sqlite3_mprintf("undersize RTree blobs in \"%q_node\"",
190898 *pzErr = sqlite3_mprintf("%s", aErrMsg[2 + (argc>=6)]);
190947 *pzErr = sqlite3_mprintf("%s", aErrMsg[4]);
190950 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
190965 *pzErr = sqlite3_mprintf("%s", aErrMsg[iErr]);
190975 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
191146 pCheck->zReport = sqlite3_mprintf("%z%s%z",
192810 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
192821 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
193153 sqlite3_mprintf("_shape does not contain a valid polygon");
195688 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
195705 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(sqlite3_db_handle(pStmt)));
195936 sqlite3_mprintf(
195958 ** This is a wrapper around "sqlite3_mprintf(zFmt, ...)". If an OOM occurs,
195982 ** Argument zFmt is a sqlite3_mprintf() style format string. The trailing
196093 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
196156 sqlite3_mprintf(
196172 sqlite3_mprintf("PRAGMA index_list=%Q",zTab)
196180 sqlite3_mprintf(
196196 sqlite3_mprintf("PRAGMA table_info=%Q",zTab)
196227 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
196241 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
196288 p->zErrmsg = sqlite3_mprintf("no such table: %s", pIter->zTbl);
196302 sqlite3_mprintf("SELECT * FROM '%q'", pIter->zDataTbl)
196327 p->zErrmsg = sqlite3_mprintf(
196338 sqlite3_mprintf("PRAGMA table_info(%Q)", pIter->zTbl)
196349 p->zErrmsg = sqlite3_mprintf("column missing from %q: %s",
196460 sqlite3_mprintf(
196476 sqlite3_mprintf(
196532 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
196575 sqlite3_mprintf("SELECT %s FROM \"rbu_imp_%w\" ORDER BY %s LIMIT 1",
196652 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
196665 zRet = sqlite3_mprintf("%z%s(%.*s) COLLATE %Q", zRet, zCom,
196688 zRet = sqlite3_mprintf("%z%s\"%w\" COLLATE %Q", zRet, zCom,zCol,zCollate);
196693 zImpPK = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\"%s",
196697 zImpCols = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\" %s COLLATE %Q",
196700 zWhere = sqlite3_mprintf(
196754 zList = sqlite3_mprintf("%z%s%s.\"%w\"", zList, zS, zObj, zCol);
196756 zList = sqlite3_mprintf("%z%sNULL", zList, zS);
196826 p->zErrmsg = sqlite3_mprintf("invalid rbu_control value");
196937 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
196945 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
197011 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
197128 p->dbRbu, &pIter->pTmpInsert, &p->zErrmsg, sqlite3_mprintf(
197279 zLimit = sqlite3_mprintf(" LIMIT -1 OFFSET %d", nOffset);
197313 sqlite3_mprintf("INSERT INTO \"rbu_imp_%w\" VALUES(%s)", zTbl, zBind)
197321 sqlite3_mprintf("DELETE FROM \"rbu_imp_%w\" WHERE %s", zTbl, zWhere)
197338 zSql = sqlite3_mprintf(
197350 zSql = sqlite3_mprintf(
197356 zSql = sqlite3_mprintf(
197404 sqlite3_mprintf(
197416 sqlite3_mprintf(
197496 sqlite3_mprintf(
197585 zUpdate = sqlite3_mprintf("UPDATE \"%s%w\" SET %s WHERE %s",
197610 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
197649 sqlite3_mprintf("SELECT k, v FROM %s.rbu_state", p->zStateDb)
197769 p->zErrmsg = sqlite3_mprintf("invalid state database");
197813 p->zErrmsg = sqlite3_mprintf("cannot vacuum wal mode database");
197825 zTarget = sqlite3_mprintf("file:%s-vactmp?rbu_memory=1%s%s",
197871 p->zErrmsg = sqlite3_mprintf("rbu vfs not found");
198138 zOal = sqlite3_mprintf("%s-oal", zMove);
198139 zWal = sqlite3_mprintf("%s-wal", zMove);
198311 p->zErrmsg = sqlite3_mprintf("datatype mismatch");
198463 sqlite3_mprintf(
198520 sqlite3_mprintf("PRAGMA main.%s", zPragma)
198749 p->zErrmsg = sqlite3_mprintf("rbu_state mismatch error");
198828 sqlite3_mprintf("SELECT count(*) FROM sqlite_master "
198974 p->zErrmsg = sqlite3_mprintf("cannot update wal mode database");
198992 p->zErrmsg = sqlite3_mprintf("database modified during rbu %s",
199732 pRbu->zErrmsg = sqlite3_mprintf("rbu/zipvfs setup error");
199754 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
200431 *pzErr = sqlite3_mprintf("no such database: %s", argv[3]);
200816 pCsr->aPage[0].zPath = z = sqlite3_mprintf("/");
200851 pCsr->zPath = z = sqlite3_mprintf(
200888 p[1].zPath = z = sqlite3_mprintf("%s%.3x/", p->zPath, p->iCell);
200925 pCsr->zPath = z = sqlite3_mprintf("%s", p->zPath);
201485 pVtab->zErrMsg = sqlite3_mprintf("%s", zErr);
202530 zPragma = sqlite3_mprintf(
202536 zPragma = sqlite3_mprintf("");
202541 zPragma = sqlite3_mprintf("PRAGMA '%q'.table_info('%q')", zDb, zThis);
202990 zRet = sqlite3_mprintf("%z%s\"%w\".\"%w\".\"%w\"=\"%w\".\"%w\".\"%w\"",
203015 zRet = sqlite3_mprintf(
203026 zRet = sqlite3_mprintf("0");
203039 char *zRet = sqlite3_mprintf(
203093 char *zStmt = sqlite3_mprintf(
203170 *pzErrMsg = sqlite3_mprintf("table schemas do not match");
203765 zSql = sqlite3_mprintf(
205908 zTab = sqlite3_mprintf("%s", zNew);
210056 p->zOut = sqlite3_mprintf("%z%.*s", p->zOut, n, z);
211300 *pzErr = sqlite3_mprintf("malformed prefix=... directive");
211306 *pzErr = sqlite3_mprintf(
211319 *pzErr = sqlite3_mprintf("prefix length out of range (max 999)");
211341 *pzErr = sqlite3_mprintf("multiple tokenize=... directives");
211360 *pzErr = sqlite3_mprintf("parse error in tokenize directive");
211378 *pzErr = sqlite3_mprintf("multiple content=... directives");
211393 *pzErr = sqlite3_mprintf("multiple content_rowid=... directives");
211403 *pzErr = sqlite3_mprintf("malformed columnsize=... directive");
211420 *pzErr = sqlite3_mprintf("malformed detail=... directive");
211425 *pzErr = sqlite3_mprintf("unrecognized option: \"%.*s\"", nCmd, zCmd);
211506 *pzErr = sqlite3_mprintf("reserved fts5 column name: %s", zCol);
211512 *pzErr = sqlite3_mprintf("unrecognized column option: %s", zArg);
211587 *pzErr = sqlite3_mprintf("reserved fts5 table name: %s", pRet->zName);
211615 *pzErr = sqlite3_mprintf("parse error in \"%s\"", zOrig);
211987 *pConfig->pzErrmsg = sqlite3_mprintf(
214061 pParse->zErr = sqlite3_mprintf(
214172 pParse->zErr = sqlite3_mprintf(
214299 char *zNew2 = sqlite3_mprintf("%s%s", zApp, zNew);
214377 zRet = sqlite3_mprintf("%s", zOp);
214395 return sqlite3_mprintf("\"\"");
214495 zErr = sqlite3_mprintf("wrong number of arguments to function %s",
214532 zText = sqlite3_mprintf("");
216199 fts5IndexPrepareStmt(p, &p->pWriter, sqlite3_mprintf(
216223 char *zSql = sqlite3_mprintf(
216245 fts5IndexPrepareStmt(p, &p->pIdxDeleter, sqlite3_mprintf(
216462 sqlite3_mprintf("PRAGMA %Q.data_version", p->pConfig->zDb)
217803 fts5IndexPrepareStmt(p, &p->pIdxSelect, sqlite3_mprintf(
219561 fts5IndexPrepareStmt(p, &p->pIdxWriter, sqlite3_mprintf(
221381 fts5IndexPrepareStmt(p, &pStmt, sqlite3_mprintf(
222633 pTab->base.zErrMsg = sqlite3_mprintf(
222992 pCursor->pVtab->zErrMsg = sqlite3_mprintf(
223027 *pConfig->pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(pConfig->db));
223129 pTab->p.base.zErrMsg = sqlite3_mprintf("unknown special query: %.*s", n, z);
223194 pTab->p.base.zErrMsg = sqlite3_mprintf("no such function: %s", zRank);
223225 pCsr->base.pVtab->zErrMsg = sqlite3_mprintf(
223286 pTab->p.base.zErrMsg = sqlite3_mprintf(
223408 *pConfig->pzErrmsg = sqlite3_mprintf(
223527 *pTab->pConfig->pzErrmsg = sqlite3_mprintf(
223718 pTab->p.base.zErrMsg = sqlite3_mprintf(
224410 char *zErr = sqlite3_mprintf("no such cursor: %lld", iCsrId);
224767 *pzErr = sqlite3_mprintf("no such tokenizer: %s", azArg[0]);
224772 *pzErr = sqlite3_mprintf("error in tokenizer constructor");
225051 zSql = sqlite3_mprintf(azStmt[eStmt],
225058 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zContentExprlist,
225065 zSql = sqlite3_mprintf(azStmt[eStmt],
225083 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName, zBind);
225090 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName);
225104 *pzErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pC->db));
225219 *pzErr = sqlite3_mprintf(
225728 zSql = sqlite3_mprintf("SELECT count(*) FROM %Q.'%q_%s'",
228636 *pzErr = sqlite3_mprintf("fts5vocab: unknown table type: %Q", zCopy);
228706 *pzErr = sqlite3_mprintf("wrong number of vtable arguments");
228854 pVTab->zErrMsg = sqlite3_mprintf(
228882 pVTab->zErrMsg = sqlite3_mprintf(