Lines Matching refs:sqlite3_mprintf
1327 ** of the char** argument point to a string obtained from [sqlite3_mprintf()]
3206 ** ^The sqlite3_mprintf() and sqlite3_vmprintf() routines write their
3236 SQLITE_API char *sqlite3_mprintf(const char*,...);
6572 ** sqlite3_temp_directory = sqlite3_mprintf("%s", zPathBuf);
7324 ** point to an appropriate error message (obtained from [sqlite3_mprintf()])
7705 ** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should
7714 char *zErrMsg; /* Error message from sqlite3_mprintf() */
30707 /* Special optimization for sqlite3_mprintf("%z..."):
31206 SQLITE_API char *sqlite3_mprintf(const char *zFormat, ...){
32139 char *z = sqlite3_mprintf("VECTOR%s",zFlgs);
40897 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
43175 zPath = sqlite3_mprintf("%s", zName);
47012 zCopy = sqlite3_mprintf("%s", zValue);
48639 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
51740 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
52064 zSql = sqlite3_mprintf("PRAGMA \"%w\".page_count", zSchema);
52132 zSql = sqlite3_mprintf("ATTACH x AS %Q", zSchema);
68757 zMsg = sqlite3_mprintf("database corruption page %d of %s",
87741 zMsg = sqlite3_mprintf("non-deterministic use of %s() in %s",
102884 pVTab->base.zErrMsg = sqlite3_mprintf(
117307 char *z = sqlite3_mprintf("%s.%s", zTab, zCol);
117308 if( db->nDb>2 || iDb!=0 ) z = sqlite3_mprintf("%s.%z", zDb, z);
125144 zBuf = sqlite3_mprintf("%.*f",n,r);
132391 #define sqlite3_mprintf sqlite3_api->mprintf
132834 sqlite3_mprintf,
133209 *pzErrMsg = sqlite3_mprintf("not authorized");
133225 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
133286 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
135243 sqlite3_temp_directory = sqlite3_mprintf("%s", zRight);
135284 sqlite3_data_directory = sqlite3_mprintf("%s", zRight);
136905 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
137034 pCsr->azArg[j] = sqlite3_mprintf("%s", zText);
137054 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db));
146231 z = sqlite3_mprintf("%s", colv[i]);
146237 p->zErrMsg = sqlite3_mprintf(
146315 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
158716 z = sqlite3_mprintf("(%d,\"%s\",%#x)",
158719 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
175516 zErr = sqlite3_mprintf(
175551 zCopy = sqlite3_mprintf("%s", zName);
176394 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
176439 *pzErrMsg = sqlite3_mprintf("unexpected %%00 in uri");
176526 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
176531 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
176557 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
180286 zCols = sqlite3_mprintf("%Q, ", p->azColumn[0]);
180288 zCols = sqlite3_mprintf("%z%Q, ", zCols, p->azColumn[i]);
180292 zSql = sqlite3_mprintf(
180339 zContentCols = sqlite3_mprintf("docid INTEGER PRIMARY KEY");
180342 zContentCols = sqlite3_mprintf("%z, 'c%d%q'", zContentCols, i, z);
180345 zContentCols = sqlite3_mprintf("%z, langid", zContentCols, zLanguageid);
180400 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", p->zDb);
180442 zValue = sqlite3_mprintf("%s", &zCsr[1]);
180466 char *z2 = sqlite3_mprintf("%s%s", *pz, z);
180751 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", zDb, zTbl);
181462 zSql = sqlite3_mprintf("SELECT %s WHERE rowid = ?", p->zReadExprlist);
183025 zSql = sqlite3_mprintf(
183031 zSql = sqlite3_mprintf("SELECT %s ORDER BY rowid %s",
183214 char *zTbl = sqlite3_mprintf("%s_stat", p->zName);
183336 char *zErr = sqlite3_mprintf("illegal first argument to %s", zFunc);
186183 pCsr->filter.zTerm = sqlite3_mprintf("%s", zStr);
186190 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
187443 return sqlite3_mprintf("");
187449 zBuf = sqlite3_mprintf(
187452 zBuf = sqlite3_mprintf("%z %.*s%s", zBuf,
187461 zBuf = sqlite3_mprintf("%zNEAR/%d ", zBuf, pExpr->nNear);
187464 zBuf = sqlite3_mprintf("%zNOT ", zBuf);
187467 zBuf = sqlite3_mprintf("%zAND ", zBuf);
187470 zBuf = sqlite3_mprintf("%zOR ", zBuf);
187474 if( zBuf ) zBuf = sqlite3_mprintf("%z{", zBuf);
187476 if( zBuf ) zBuf = sqlite3_mprintf("%z} {", zBuf);
187479 if( zBuf ) zBuf = sqlite3_mprintf("%z}", zBuf);
188769 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName);
188844 zCopy = sqlite3_mprintf("%s", zArg);
188969 char *zErr2 = sqlite3_mprintf("unknown tokenizer: %s", zName);
189156 zTest = sqlite3_mprintf("%s_test", zName);
189157 zTest2 = sqlite3_mprintf("%s_internal_test", zName);
190291 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName, p->zWriteExprlist);
190294 zSql = sqlite3_mprintf(azSql[eStmt], p->zReadExprlist);
190296 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName);
191100 p->zSegmentsTbl = sqlite3_mprintf("%s_segments", p->zName);
191874 char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData);
193455 char *zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
195201 zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
199521 return sqlite3_mprintf("JSON path error near '%q'", zErr);
199575 char *zMsg = sqlite3_mprintf("json_%s() needs an odd number of arguments",
200772 cur->pVtab->zErrMsg = sqlite3_mprintf("malformed JSON");
201675 char *zTab = sqlite3_mprintf("%s_node", pRtree->zName);
201993 char *zCreate = sqlite3_mprintf(
203006 if( iIdx>0 && 0==(pIdxInfo->idxStr = sqlite3_mprintf("%s", zIdxStr)) ){
204132 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", pRtree->zDb, pRtree->zName);
204143 pRtree->base.zErrMsg = sqlite3_mprintf(
204149 pRtree->base.zErrMsg = sqlite3_mprintf(
204336 char *zSql = sqlite3_mprintf(
204395 zSql = sqlite3_mprintf(zFmt, pRtree->zDb, pRtree->zName);
204535 zSql = sqlite3_mprintf(zFormat, zDb, zPrefix);
204544 pRtree->zReadAuxSql = sqlite3_mprintf(
204626 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", pRtree->zDb);
204634 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
204637 zSql = sqlite3_mprintf(
204643 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
204647 *pzErr = sqlite3_mprintf("undersize RTree blobs in \"%q_node\"",
204701 *pzErr = sqlite3_mprintf("%s", aErrMsg[2 + (argc>=6)]);
204750 *pzErr = sqlite3_mprintf("%s", aErrMsg[4]);
204753 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
204768 *pzErr = sqlite3_mprintf("%s", aErrMsg[iErr]);
204778 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
204955 pCheck->zReport = sqlite3_mprintf("%z%s%z",
206625 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
206636 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
206970 sqlite3_mprintf("_shape does not contain a valid polygon");
209546 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
209563 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(sqlite3_db_handle(pStmt)));
209794 sqlite3_mprintf(
209816 ** This is a wrapper around "sqlite3_mprintf(zFmt, ...)". If an OOM occurs,
209840 ** Argument zFmt is a sqlite3_mprintf() style format string. The trailing
209951 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
210014 sqlite3_mprintf(
210032 sqlite3_mprintf("PRAGMA index_list=%Q",zTab)
210040 sqlite3_mprintf(
210056 sqlite3_mprintf("PRAGMA table_info=%Q",zTab)
210087 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
210101 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
210148 p->zErrmsg = sqlite3_mprintf("no such table: %s", pIter->zTbl);
210162 sqlite3_mprintf("SELECT * FROM '%q'", pIter->zDataTbl)
210187 p->zErrmsg = sqlite3_mprintf(
210198 sqlite3_mprintf("PRAGMA table_info(%Q)", pIter->zTbl)
210209 p->zErrmsg = sqlite3_mprintf("column missing from %q: %s",
210320 sqlite3_mprintf(
210336 sqlite3_mprintf(
210392 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
210435 sqlite3_mprintf("SELECT %s FROM \"rbu_imp_%w\" ORDER BY %s LIMIT 1",
210514 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
210527 zRet = sqlite3_mprintf("%z%s(%.*s) COLLATE %Q", zRet, zCom,
210550 zRet = sqlite3_mprintf("%z%s\"%w\" COLLATE %Q", zRet, zCom,zCol,zCollate);
210555 zImpPK = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\"%s",
210559 zImpCols = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\" %s COLLATE %Q",
210562 zWhere = sqlite3_mprintf(
210616 zList = sqlite3_mprintf("%z%s%s.\"%w\"", zList, zS, zObj, zCol);
210618 zList = sqlite3_mprintf("%z%sNULL", zList, zS);
210688 p->zErrmsg = sqlite3_mprintf("invalid rbu_control value");
210799 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
210807 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
210873 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
210990 p->dbRbu, &pIter->pTmpInsert, &p->zErrmsg, sqlite3_mprintf(
211141 zLimit = sqlite3_mprintf(" LIMIT -1 OFFSET %d", nOffset);
211175 sqlite3_mprintf("INSERT INTO \"rbu_imp_%w\" VALUES(%s)", zTbl, zBind)
211183 sqlite3_mprintf("DELETE FROM \"rbu_imp_%w\" WHERE %s", zTbl, zWhere)
211200 zSql = sqlite3_mprintf(
211212 zSql = sqlite3_mprintf(
211218 zSql = sqlite3_mprintf(
211266 sqlite3_mprintf(
211278 sqlite3_mprintf(
211358 sqlite3_mprintf(
211447 zUpdate = sqlite3_mprintf("UPDATE \"%s%w\" SET %s WHERE %s",
211472 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
211511 sqlite3_mprintf("SELECT k, v FROM %s.rbu_state", p->zStateDb)
211637 p->zErrmsg = sqlite3_mprintf("invalid state database");
211681 p->zErrmsg = sqlite3_mprintf("cannot vacuum wal mode database");
211693 zTarget = sqlite3_mprintf("file:%s-vactmp?rbu_memory=1%s%s",
211739 p->zErrmsg = sqlite3_mprintf("rbu vfs not found");
212022 zOal = sqlite3_mprintf("%s-oal", zMove);
212023 zWal = sqlite3_mprintf("%s-wal", zMove);
212184 p->zErrmsg = sqlite3_mprintf("datatype mismatch");
212336 sqlite3_mprintf(
212393 sqlite3_mprintf("PRAGMA main.%s", zPragma)
212622 p->zErrmsg = sqlite3_mprintf("rbu_state mismatch error");
212701 sqlite3_mprintf("SELECT count(*) FROM sqlite_schema "
212848 p->zErrmsg = sqlite3_mprintf("cannot update wal mode database");
212866 p->zErrmsg = sqlite3_mprintf("database modified during rbu %s",
213661 pRbu->zErrmsg = sqlite3_mprintf("rbu/zipvfs setup error");
213683 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
214356 *pzErr = sqlite3_mprintf("no such database: %s", argv[3]);
214780 pCsr->aPage[0].zPath = z = sqlite3_mprintf("/");
214815 pCsr->zPath = z = sqlite3_mprintf(
214851 p[1].zPath = z = sqlite3_mprintf("%s%.3x/", p->zPath, p->iCell);
214888 pCsr->zPath = z = sqlite3_mprintf("%s", p->zPath);
215457 pVtab->zErrMsg = sqlite3_mprintf("%s", zErr);
216535 zPragma = sqlite3_mprintf(
216541 zPragma = sqlite3_mprintf("");
216550 zPragma = sqlite3_mprintf("PRAGMA '%q'.table_info('%q')", zDb, zThis);
217123 zRet = sqlite3_mprintf("%z%s\"%w\".\"%w\".\"%w\"=\"%w\".\"%w\".\"%w\"",
217148 zRet = sqlite3_mprintf(
217159 zRet = sqlite3_mprintf("0");
217172 char *zRet = sqlite3_mprintf(
217226 char *zStmt = sqlite3_mprintf(
217303 *pzErrMsg = sqlite3_mprintf("table schemas do not match");
217918 zSql = sqlite3_mprintf(
220236 zTab = sqlite3_mprintf("%s", zNew);
224423 p->zOut = sqlite3_mprintf("%z%.*s", p->zOut, n, z);
225670 *pzErr = sqlite3_mprintf("malformed prefix=... directive");
225676 *pzErr = sqlite3_mprintf(
225689 *pzErr = sqlite3_mprintf("prefix length out of range (max 999)");
225711 *pzErr = sqlite3_mprintf("multiple tokenize=... directives");
225730 *pzErr = sqlite3_mprintf("parse error in tokenize directive");
225748 *pzErr = sqlite3_mprintf("multiple content=... directives");
225763 *pzErr = sqlite3_mprintf("multiple content_rowid=... directives");
225773 *pzErr = sqlite3_mprintf("malformed columnsize=... directive");
225790 *pzErr = sqlite3_mprintf("malformed detail=... directive");
225795 *pzErr = sqlite3_mprintf("unrecognized option: \"%.*s\"", nCmd, zCmd);
225874 *pzErr = sqlite3_mprintf("reserved fts5 column name: %s", zCol);
225880 *pzErr = sqlite3_mprintf("unrecognized column option: %s", zArg);
225955 *pzErr = sqlite3_mprintf("reserved fts5 table name: %s", pRet->zName);
225984 *pzErr = sqlite3_mprintf("parse error in \"%s\"", zOrig);
226360 *pConfig->pzErrmsg = sqlite3_mprintf(
228828 char *zNew2 = sqlite3_mprintf("%s%s", zApp, zNew);
228906 zRet = sqlite3_mprintf("%s", zOp);
228924 return sqlite3_mprintf("\"\"");
229033 zErr = sqlite3_mprintf("wrong number of arguments to function %s",
229070 zText = sqlite3_mprintf("");
230756 fts5IndexPrepareStmt(p, &p->pWriter, sqlite3_mprintf(
230780 char *zSql = sqlite3_mprintf(
230802 fts5IndexPrepareStmt(p, &p->pIdxDeleter, sqlite3_mprintf(
231073 sqlite3_mprintf("PRAGMA %Q.data_version", p->pConfig->zDb)
232416 fts5IndexPrepareStmt(p, &p->pIdxSelect, sqlite3_mprintf(
234191 fts5IndexPrepareStmt(p, &p->pIdxWriter, sqlite3_mprintf(
236098 fts5IndexPrepareStmt(p, &pStmt, sqlite3_mprintf(
237400 pTab->base.zErrMsg = sqlite3_mprintf(
237763 pCursor->pVtab->zErrMsg = sqlite3_mprintf(
237798 *pConfig->pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(pConfig->db));
237900 pTab->p.base.zErrMsg = sqlite3_mprintf("unknown special query: %.*s", n, z);
237965 pTab->p.base.zErrMsg = sqlite3_mprintf("no such function: %s", zRank);
237996 pCsr->base.pVtab->zErrMsg = sqlite3_mprintf(
238057 pTab->p.base.zErrMsg = sqlite3_mprintf(
238193 *pConfig->pzErrmsg = sqlite3_mprintf(
238313 *pTab->pConfig->pzErrmsg = sqlite3_mprintf(
238505 pTab->p.base.zErrMsg = sqlite3_mprintf(
239202 char *zErr = sqlite3_mprintf("no such cursor: %lld", iCsrId);
239558 *pzErr = sqlite3_mprintf("no such tokenizer: %s", azArg[0]);
239565 if( pzErr ) *pzErr = sqlite3_mprintf("error in tokenizer constructor");
239848 zSql = sqlite3_mprintf(azStmt[eStmt],
239855 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zContentExprlist,
239862 zSql = sqlite3_mprintf(azStmt[eStmt],
239880 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName, zBind);
239887 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName);
239901 *pzErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pC->db));
240016 *pzErr = sqlite3_mprintf(
240536 zSql = sqlite3_mprintf("SELECT count(*) FROM %Q.'%q_%s'",
243584 *pzErr = sqlite3_mprintf("fts5vocab: unknown table type: %Q", zCopy);
243654 *pzErr = sqlite3_mprintf("wrong number of vtable arguments");
243802 pVTab->zErrMsg = sqlite3_mprintf(
243830 pVTab->zErrMsg = sqlite3_mprintf(
245940 char *iter = sqlite3_mprintf("%d", ctx->writeCtx->iter);
246021 char *pageSize = sqlite3_mprintf("%d", ctx->readCtx->codecConst.cipherPageSize);
246057 char *sql = sqlite3_mprintf("PRAGMA %s;", metaName);
246075 sql = sqlite3_mprintf("PRAGMA %s.%s=%d;", dbName, metaName, metadata);
246132 sql = sqlite3_mprintf("SELECT 'CREATE TABLE %s.' || substr(sql,14) FROM sqlite_master WHERE type='table' AND name!='sqlite_sequence' AND rootpage>0;", dbName);
246142 sql = sqlite3_mprintf("SELECT 'CREATE INDEX %s.' || substr(sql,14) FROM sqlite_master WHERE sql LIKE 'CREATE INDEX %%';", dbName);
246152 sql = sqlite3_mprintf("SELECT 'CREATE UNIQUE INDEX %s.' || substr(sql,21) FROM sqlite_master WHERE sql LIKE 'CREATE UNIQUE INDEX %%';", dbName);
246162 sql = sqlite3_mprintf("SELECT 'INSERT INTO %s.' || quote(name) || ' SELECT * FROM main.' || quote(name) || ';' FROM main.sqlite_master WHERE type = 'table' AND name!='sqlite_sequence' AND rootpage>0;", dbName);
246172 sql = sqlite3_mprintf("SELECT 'DELETE FROM %s.' || quote(name) || ';' FROM %s.sqlite_master WHERE name='sqlite_sequence';", dbName, dbName);
246182 sql = sqlite3_mprintf("SELECT 'INSERT INTO %s.' || quote(name) || ' SELECT * FROM main.' || quote(name) || ';' FROM %s.sqlite_master WHERE name=='sqlite_sequence';", dbName, dbName);
246192 sql = sqlite3_mprintf("INSERT INTO %s.sqlite_master SELECT type, name, tbl_name, rootpage, sql FROM main.sqlite_master WHERE type='view' OR type='trigger' OR (type='table' AND rootpage=0);", dbName, dbName);