Lines Matching refs:sqlite3_mprintf
3198 SQLITE_API char *sqlite3_mprintf(const char*,...);
30221 SQLITE_API char *sqlite3_mprintf(const char *zFormat, ...){
31060 char *z = sqlite3_mprintf("VECTOR%s",zFlgs);
38340 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
40590 zPath = sqlite3_mprintf("%s", zName);
44402 zCopy = sqlite3_mprintf("%s", zValue);
46024 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
49048 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
49372 zSql = sqlite3_mprintf("PRAGMA \"%w\".page_count", zSchema);
49440 zSql = sqlite3_mprintf("ATTACH x AS %Q", zSchema);
65957 zMsg = sqlite3_mprintf("database corruption page %d of %s",
84591 zMsg = sqlite3_mprintf("non-deterministic use of %s() in %s",
99212 pVTab->base.zErrMsg = sqlite3_mprintf(
109464 zErr = sqlite3_mprintf("error in %s %s%s%s: %s",
113329 char *z = sqlite3_mprintf("%s.%s", zTab, zCol);
113330 if( db->nDb>2 || iDb!=0 ) z = sqlite3_mprintf("%s.%z", zDb, z);
121042 zBuf = sqlite3_mprintf("%.*f",n,r);
128218 #define sqlite3_mprintf sqlite3_api->mprintf
128644 sqlite3_mprintf,
128988 *pzErrMsg = sqlite3_mprintf("not authorized");
129004 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
129065 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
131019 sqlite3_temp_directory = sqlite3_mprintf("%s", zRight);
131057 sqlite3_data_directory = sqlite3_mprintf("%s", zRight);
132553 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
132682 pCsr->azArg[j] = sqlite3_mprintf("%s", zText);
132702 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db));
141457 z = sqlite3_mprintf("%s", colv[i]);
141463 p->zErrMsg = sqlite3_mprintf(
141541 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
153139 z = sqlite3_mprintf("(%d,\"%s\",%#x)",
153142 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
169311 zErr = sqlite3_mprintf(
169346 zCopy = sqlite3_mprintf(zName);
170176 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
170221 *pzErrMsg = sqlite3_mprintf("unexpected %%00 in uri");
170308 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
170313 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
170339 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
173954 zCols = sqlite3_mprintf("%Q, ", p->azColumn[0]);
173956 zCols = sqlite3_mprintf("%z%Q, ", zCols, p->azColumn[i]);
173960 zSql = sqlite3_mprintf(
174007 zContentCols = sqlite3_mprintf("docid INTEGER PRIMARY KEY");
174010 zContentCols = sqlite3_mprintf("%z, 'c%d%q'", zContentCols, i, z);
174013 zContentCols = sqlite3_mprintf("%z, langid", zContentCols, zLanguageid);
174068 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", p->zDb);
174110 zValue = sqlite3_mprintf("%s", &zCsr[1]);
174134 char *z2 = sqlite3_mprintf("%s%s", *pz, z);
174419 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", zDb, zTbl);
175130 zSql = sqlite3_mprintf("SELECT %s WHERE rowid = ?", p->zReadExprlist);
176693 zSql = sqlite3_mprintf(
176699 zSql = sqlite3_mprintf("SELECT %s ORDER BY rowid %s",
176882 char *zTbl = sqlite3_mprintf("%s_stat", p->zName);
177004 char *zErr = sqlite3_mprintf("illegal first argument to %s", zFunc);
179842 pCsr->filter.zTerm = sqlite3_mprintf("%s", zStr);
179849 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
181102 return sqlite3_mprintf("");
181108 zBuf = sqlite3_mprintf(
181111 zBuf = sqlite3_mprintf("%z %.*s%s", zBuf,
181120 zBuf = sqlite3_mprintf("%zNEAR/%d ", zBuf, pExpr->nNear);
181123 zBuf = sqlite3_mprintf("%zNOT ", zBuf);
181126 zBuf = sqlite3_mprintf("%zAND ", zBuf);
181129 zBuf = sqlite3_mprintf("%zOR ", zBuf);
181133 if( zBuf ) zBuf = sqlite3_mprintf("%z{", zBuf);
181135 if( zBuf ) zBuf = sqlite3_mprintf("%z} {", zBuf);
181138 if( zBuf ) zBuf = sqlite3_mprintf("%z}", zBuf);
182428 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName);
182503 zCopy = sqlite3_mprintf("%s", zArg);
182628 char *zErr2 = sqlite3_mprintf("unknown tokenizer: %s", zName);
182815 zTest = sqlite3_mprintf("%s_test", zName);
182816 zTest2 = sqlite3_mprintf("%s_internal_test", zName);
183948 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName, p->zWriteExprlist);
183951 zSql = sqlite3_mprintf(azSql[eStmt], p->zReadExprlist);
183953 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName);
184757 p->zSegmentsTbl = sqlite3_mprintf("%s_segments", p->zName);
185531 char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData);
187110 char *zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
188853 zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
193242 return sqlite3_mprintf("JSON path error near '%q'", zErr);
193296 char *zMsg = sqlite3_mprintf("json_%s() needs an odd number of arguments",
194406 cur->pVtab->zErrMsg = sqlite3_mprintf("malformed JSON");
195349 char *zTab = sqlite3_mprintf("%s_node", pRtree->zName);
195667 char *zCreate = sqlite3_mprintf(
196680 if( iIdx>0 && 0==(pIdxInfo->idxStr = sqlite3_mprintf("%s", zIdxStr)) ){
197806 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", pRtree->zDb, pRtree->zName);
197817 pRtree->base.zErrMsg = sqlite3_mprintf(
197823 pRtree->base.zErrMsg = sqlite3_mprintf(
198010 char *zSql = sqlite3_mprintf(
198069 zSql = sqlite3_mprintf(zFmt, pRtree->zDb, pRtree->zName);
198209 zSql = sqlite3_mprintf(zFormat, zDb, zPrefix);
198218 pRtree->zReadAuxSql = sqlite3_mprintf(
198300 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", pRtree->zDb);
198308 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
198311 zSql = sqlite3_mprintf(
198317 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
198321 *pzErr = sqlite3_mprintf("undersize RTree blobs in \"%q_node\"",
198375 *pzErr = sqlite3_mprintf("%s", aErrMsg[2 + (argc>=6)]);
198424 *pzErr = sqlite3_mprintf("%s", aErrMsg[4]);
198427 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
198442 *pzErr = sqlite3_mprintf("%s", aErrMsg[iErr]);
198452 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
198629 pCheck->zReport = sqlite3_mprintf("%z%s%z",
200302 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
200313 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
200647 sqlite3_mprintf("_shape does not contain a valid polygon");
203192 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
203209 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(sqlite3_db_handle(pStmt)));
203440 sqlite3_mprintf(
203597 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
203660 sqlite3_mprintf(
203678 sqlite3_mprintf("PRAGMA index_list=%Q",zTab)
203686 sqlite3_mprintf(
203702 sqlite3_mprintf("PRAGMA table_info=%Q",zTab)
203733 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
203747 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
203794 p->zErrmsg = sqlite3_mprintf("no such table: %s", pIter->zTbl);
203808 sqlite3_mprintf("SELECT * FROM '%q'", pIter->zDataTbl)
203833 p->zErrmsg = sqlite3_mprintf(
203844 sqlite3_mprintf("PRAGMA table_info(%Q)", pIter->zTbl)
203855 p->zErrmsg = sqlite3_mprintf("column missing from %q: %s",
203966 sqlite3_mprintf(
203982 sqlite3_mprintf(
204038 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
204081 sqlite3_mprintf("SELECT %s FROM \"rbu_imp_%w\" ORDER BY %s LIMIT 1",
204160 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
204173 zRet = sqlite3_mprintf("%z%s(%.*s) COLLATE %Q", zRet, zCom,
204196 zRet = sqlite3_mprintf("%z%s\"%w\" COLLATE %Q", zRet, zCom,zCol,zCollate);
204201 zImpPK = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\"%s",
204205 zImpCols = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\" %s COLLATE %Q",
204208 zWhere = sqlite3_mprintf(
204262 zList = sqlite3_mprintf("%z%s%s.\"%w\"", zList, zS, zObj, zCol);
204264 zList = sqlite3_mprintf("%z%sNULL", zList, zS);
204334 p->zErrmsg = sqlite3_mprintf("invalid rbu_control value");
204445 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
204453 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
204519 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
204636 p->dbRbu, &pIter->pTmpInsert, &p->zErrmsg, sqlite3_mprintf(
204787 zLimit = sqlite3_mprintf(" LIMIT -1 OFFSET %d", nOffset);
204821 sqlite3_mprintf("INSERT INTO \"rbu_imp_%w\" VALUES(%s)", zTbl, zBind)
204829 sqlite3_mprintf("DELETE FROM \"rbu_imp_%w\" WHERE %s", zTbl, zWhere)
204846 zSql = sqlite3_mprintf(
204858 zSql = sqlite3_mprintf(
204864 zSql = sqlite3_mprintf(
204912 sqlite3_mprintf(
204924 sqlite3_mprintf(
205004 sqlite3_mprintf(
205093 zUpdate = sqlite3_mprintf("UPDATE \"%s%w\" SET %s WHERE %s",
205118 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
205157 sqlite3_mprintf("SELECT k, v FROM %s.rbu_state", p->zStateDb)
205283 p->zErrmsg = sqlite3_mprintf("invalid state database");
205327 p->zErrmsg = sqlite3_mprintf("cannot vacuum wal mode database");
205339 zTarget = sqlite3_mprintf("file:%s-vactmp?rbu_memory=1%s%s",
205385 p->zErrmsg = sqlite3_mprintf("rbu vfs not found");
205668 zOal = sqlite3_mprintf("%s-oal", zMove);
205669 zWal = sqlite3_mprintf("%s-wal", zMove);
205855 p->zErrmsg = sqlite3_mprintf("datatype mismatch");
206007 sqlite3_mprintf(
206064 sqlite3_mprintf("PRAGMA main.%s", zPragma)
206293 p->zErrmsg = sqlite3_mprintf("rbu_state mismatch error");
206372 sqlite3_mprintf("SELECT count(*) FROM sqlite_schema "
206518 p->zErrmsg = sqlite3_mprintf("cannot update wal mode database");
206536 p->zErrmsg = sqlite3_mprintf("database modified during rbu %s",
207283 pRbu->zErrmsg = sqlite3_mprintf("rbu/zipvfs setup error");
207305 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
207978 *pzErr = sqlite3_mprintf("no such database: %s", argv[3]);
208402 pCsr->aPage[0].zPath = z = sqlite3_mprintf("/");
208437 pCsr->zPath = z = sqlite3_mprintf(
208473 p[1].zPath = z = sqlite3_mprintf("%s%.3x/", p->zPath, p->iCell);
208510 pCsr->zPath = z = sqlite3_mprintf("%s", p->zPath);
209071 pVtab->zErrMsg = sqlite3_mprintf("%s", zErr);
210148 zPragma = sqlite3_mprintf(
210154 zPragma = sqlite3_mprintf("");
210163 zPragma = sqlite3_mprintf("PRAGMA '%q'.table_info('%q')", zDb, zThis);
210736 zRet = sqlite3_mprintf("%z%s\"%w\".\"%w\".\"%w\"=\"%w\".\"%w\".\"%w\"",
210761 zRet = sqlite3_mprintf(
210772 zRet = sqlite3_mprintf("0");
210785 char *zRet = sqlite3_mprintf(
210839 char *zStmt = sqlite3_mprintf(
210916 *pzErrMsg = sqlite3_mprintf("table schemas do not match");
211531 zSql = sqlite3_mprintf(
213829 zTab = sqlite3_mprintf("%s", zNew);
218016 p->zOut = sqlite3_mprintf("%z%.*s", p->zOut, n, z);
219263 *pzErr = sqlite3_mprintf("malformed prefix=... directive");
219269 *pzErr = sqlite3_mprintf(
219282 *pzErr = sqlite3_mprintf("prefix length out of range (max 999)");
219304 *pzErr = sqlite3_mprintf("multiple tokenize=... directives");
219323 *pzErr = sqlite3_mprintf("parse error in tokenize directive");
219341 *pzErr = sqlite3_mprintf("multiple content=... directives");
219356 *pzErr = sqlite3_mprintf("multiple content_rowid=... directives");
219366 *pzErr = sqlite3_mprintf("malformed columnsize=... directive");
219383 *pzErr = sqlite3_mprintf("malformed detail=... directive");
219388 *pzErr = sqlite3_mprintf("unrecognized option: \"%.*s\"", nCmd, zCmd);
219467 *pzErr = sqlite3_mprintf("reserved fts5 column name: %s", zCol);
219473 *pzErr = sqlite3_mprintf("unrecognized column option: %s", zArg);
219548 *pzErr = sqlite3_mprintf("reserved fts5 table name: %s", pRet->zName);
219577 *pzErr = sqlite3_mprintf("parse error in \"%s\"", zOrig);
219953 *pConfig->pzErrmsg = sqlite3_mprintf(
222418 char *zNew2 = sqlite3_mprintf("%s%s", zApp, zNew);
222496 zRet = sqlite3_mprintf("%s", zOp);
222514 return sqlite3_mprintf("\"\"");
222623 zErr = sqlite3_mprintf("wrong number of arguments to function %s",
222660 zText = sqlite3_mprintf("");
224346 fts5IndexPrepareStmt(p, &p->pWriter, sqlite3_mprintf(
224370 char *zSql = sqlite3_mprintf(
224392 fts5IndexPrepareStmt(p, &p->pIdxDeleter, sqlite3_mprintf(
224663 sqlite3_mprintf("PRAGMA %Q.data_version", p->pConfig->zDb)
226006 fts5IndexPrepareStmt(p, &p->pIdxSelect, sqlite3_mprintf(
227779 fts5IndexPrepareStmt(p, &p->pIdxWriter, sqlite3_mprintf(
229686 fts5IndexPrepareStmt(p, &pStmt, sqlite3_mprintf(
230987 pTab->base.zErrMsg = sqlite3_mprintf(
231350 pCursor->pVtab->zErrMsg = sqlite3_mprintf(
231385 *pConfig->pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(pConfig->db));
231487 pTab->p.base.zErrMsg = sqlite3_mprintf("unknown special query: %.*s", n, z);
231552 pTab->p.base.zErrMsg = sqlite3_mprintf("no such function: %s", zRank);
231583 pCsr->base.pVtab->zErrMsg = sqlite3_mprintf(
231644 pTab->p.base.zErrMsg = sqlite3_mprintf(
231780 *pConfig->pzErrmsg = sqlite3_mprintf(
231900 *pTab->pConfig->pzErrmsg = sqlite3_mprintf(
232092 pTab->p.base.zErrMsg = sqlite3_mprintf(
232789 char *zErr = sqlite3_mprintf("no such cursor: %lld", iCsrId);
233145 *pzErr = sqlite3_mprintf("no such tokenizer: %s", azArg[0]);
233152 if( pzErr ) *pzErr = sqlite3_mprintf("error in tokenizer constructor");
233435 zSql = sqlite3_mprintf(azStmt[eStmt],
233442 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zContentExprlist,
233449 zSql = sqlite3_mprintf(azStmt[eStmt],
233467 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName, zBind);
233474 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName);
233488 *pzErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pC->db));
233603 *pzErr = sqlite3_mprintf(
234123 zSql = sqlite3_mprintf("SELECT count(*) FROM %Q.'%q_%s'",
237171 *pzErr = sqlite3_mprintf("fts5vocab: unknown table type: %Q", zCopy);
237241 *pzErr = sqlite3_mprintf("wrong number of vtable arguments");
237389 pVTab->zErrMsg = sqlite3_mprintf(
237417 pVTab->zErrMsg = sqlite3_mprintf(
239360 char *iter = sqlite3_mprintf("%d", ctx->writeCtx->iter);
239414 char *sql = sqlite3_mprintf("PRAGMA %s;", metaName);
239432 sql = sqlite3_mprintf("PRAGMA %s.%s=%d;", dbName, metaName, metadata);
239489 …sql = sqlite3_mprintf("SELECT 'CREATE TABLE %s.' || substr(sql,14) FROM sqlite_master WHERE type='…
239499 …sql = sqlite3_mprintf("SELECT 'CREATE INDEX %s.' || substr(sql,14) FROM sqlite_master WHERE sql LI…
239509 …sql = sqlite3_mprintf("SELECT 'CREATE UNIQUE INDEX %s.' || substr(sql,21) FROM sqlite_master WHERE…
239519 …sql = sqlite3_mprintf("SELECT 'INSERT INTO %s.' || quote(name) || ' SELECT * FROM main.' || quote(…
239529 …sql = sqlite3_mprintf("SELECT 'DELETE FROM %s.' || quote(name) || ';' FROM %s.sqlite_master WHERE …
239539 …sql = sqlite3_mprintf("SELECT 'INSERT INTO %s.' || quote(name) || ' SELECT * FROM main.' || quote(…
239549 …sql = sqlite3_mprintf("INSERT INTO %s.sqlite_master SELECT type, name, tbl_name, rootpage, sql FRO…