Lines Matching defs:sqlite3_mprintf
1334 ** of the char** argument point to a string obtained from [sqlite3_mprintf()]
3289 ** ^The sqlite3_mprintf() and sqlite3_vmprintf() routines write their
3319 SQLITE_API char *sqlite3_mprintf(const char*,...);
6808 ** sqlite3_temp_directory = sqlite3_mprintf("%s", zPathBuf);
7566 ** point to an appropriate error message (obtained from [sqlite3_mprintf()])
7942 ** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should
7951 char *zErrMsg; /* Error message from sqlite3_mprintf() */
25991 zJson = sqlite3_mprintf(
31877 /* Special optimization for sqlite3_mprintf("%z..."):
32380 SQLITE_API char *sqlite3_mprintf(const char *zFormat, ...){
33418 char *z = sqlite3_mprintf("VECTOR%s",zFlgs);
42401 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
44811 zPath = sqlite3_mprintf("%s", zName);
48590 zCopy = sqlite3_mprintf("%s", zValue);
50217 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
53334 *(char**)pArg = sqlite3_mprintf("memdb(%p,%lld)", p->aData, p->sz);
53658 zSql = sqlite3_mprintf("PRAGMA \"%w\".page_count", zSchema);
53734 zSql = sqlite3_mprintf("ATTACH x AS %Q", zSchema);
70682 zMsg = sqlite3_mprintf("database corruption page %u of %s",
90231 zMsg = sqlite3_mprintf("non-deterministic use of %s() in %s",
105930 pVTab->base.zErrMsg = sqlite3_mprintf(
121217 char *z = sqlite3_mprintf("%s.%s", zTab, zCol);
121218 if( db->nDb>2 || iDb!=0 ) z = sqlite3_mprintf("%s.%z", zDb, z);
129112 zBuf = sqlite3_mprintf("%!.*f",n,r);
136902 #define sqlite3_mprintf sqlite3_api->mprintf
137347 sqlite3_mprintf,
137719 *pzErrMsg = sqlite3_mprintf("not authorized");
137743 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
137806 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
139742 sqlite3_temp_directory = sqlite3_mprintf("%s", zRight);
139783 sqlite3_data_directory = sqlite3_mprintf("%s", zRight);
141562 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
141693 pCsr->azArg[j] = sqlite3_mprintf("%s", zText);
141713 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db));
151581 z = sqlite3_mprintf("%s", colv[i]);
151587 p->zErrMsg = sqlite3_mprintf(
151665 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
164460 z = sqlite3_mprintf("(%d,\"%s\",%#x)",
164463 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
181926 zErr = sqlite3_mprintf(
181961 zCopy = sqlite3_mprintf("%s", zName);
182810 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
182855 *pzErrMsg = sqlite3_mprintf("unexpected %%00 in uri");
182942 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
182947 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
182973 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
186796 zCols = sqlite3_mprintf("%Q, ", p->azColumn[0]);
186798 zCols = sqlite3_mprintf("%z%Q, ", zCols, p->azColumn[i]);
186802 zSql = sqlite3_mprintf(
186849 zContentCols = sqlite3_mprintf("docid INTEGER PRIMARY KEY");
186852 zContentCols = sqlite3_mprintf("%z, 'c%d%q'", zContentCols, i, z);
186855 zContentCols = sqlite3_mprintf("%z, langid", zContentCols, zLanguageid);
186910 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", p->zDb);
186952 zValue = sqlite3_mprintf("%s", &zCsr[1]);
186976 char *z2 = sqlite3_mprintf("%s%s", *pz, z);
187261 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", zDb, zTbl);
187972 zSql = sqlite3_mprintf("SELECT %s WHERE rowid = ?", p->zReadExprlist);
189535 zSql = sqlite3_mprintf(
189541 zSql = sqlite3_mprintf("SELECT %s ORDER BY rowid %s",
189724 char *zTbl = sqlite3_mprintf("%s_stat", p->zName);
189846 char *zErr = sqlite3_mprintf("illegal first argument to %s", zFunc);
190091 char *zSql = sqlite3_mprintf("INSERT INTO %Q.%Q(%Q) VALUES('flush')",
190174 *pzErr = sqlite3_mprintf("unable to validate the inverted index for"
190179 *pzErr = sqlite3_mprintf("malformed inverted index for FTS%d table %s.%s",
192765 pCsr->filter.zTerm = sqlite3_mprintf("%s", zStr);
192772 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
194026 return sqlite3_mprintf("");
194032 zBuf = sqlite3_mprintf(
194035 zBuf = sqlite3_mprintf("%z %.*s%s", zBuf,
194044 zBuf = sqlite3_mprintf("%zNEAR/%d ", zBuf, pExpr->nNear);
194047 zBuf = sqlite3_mprintf("%zNOT ", zBuf);
194050 zBuf = sqlite3_mprintf("%zAND ", zBuf);
194053 zBuf = sqlite3_mprintf("%zOR ", zBuf);
194057 if( zBuf ) zBuf = sqlite3_mprintf("%z{", zBuf);
194059 if( zBuf ) zBuf = sqlite3_mprintf("%z} {", zBuf);
194062 if( zBuf ) zBuf = sqlite3_mprintf("%z}", zBuf);
195352 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName);
195427 zCopy = sqlite3_mprintf("%s", zArg);
195552 char *zErr2 = sqlite3_mprintf("unknown tokenizer: %s", zName);
195739 zTest = sqlite3_mprintf("%s_test", zName);
195740 zTest2 = sqlite3_mprintf("%s_internal_test", zName);
196875 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName, p->zWriteExprlist);
196878 zSql = sqlite3_mprintf(azSql[eStmt], p->zReadExprlist);
196880 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName);
197684 p->zSegmentsTbl = sqlite3_mprintf("%s_segments", p->zName);
198458 char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData);
200044 char *zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
201797 zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
205924 char *zMsg = sqlite3_mprintf("json_%s() needs an odd number of arguments",
208135 char *zMsg = sqlite3_mprintf("bad JSON path: %Q", zPath);
210162 cur->pVtab->zErrMsg = sqlite3_mprintf("malformed JSON");
211368 char *zCreate = sqlite3_mprintf(
213363 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", pRtree->zDb, pRtree->zName);
213374 pRtree->base.zErrMsg = sqlite3_mprintf(
213380 pRtree->base.zErrMsg = sqlite3_mprintf(
213569 char *zSql = sqlite3_mprintf(
213628 zSql = sqlite3_mprintf(zFmt, pRtree->zDb, pRtree->zName);
213772 zSql = sqlite3_mprintf(zFormat, zDb, zPrefix);
213781 pRtree->zReadAuxSql = sqlite3_mprintf(
213863 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", pRtree->zDb);
213871 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
213874 zSql = sqlite3_mprintf(
213880 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
213884 *pzErr = sqlite3_mprintf("undersize RTree blobs in \"%q_node\"",
213938 *pzErr = sqlite3_mprintf("%s", aErrMsg[2 + (argc>=6)]);
213992 *pzErr = sqlite3_mprintf("%s", aErrMsg[4]);
213995 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
214010 *pzErr = sqlite3_mprintf("%s", aErrMsg[iErr]);
214020 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
214197 pCheck->zReport = sqlite3_mprintf("%z%s%z",
214528 *pzErr = sqlite3_mprintf("In RTree %s.%s:\n%z",
215897 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
215908 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
216244 sqlite3_mprintf("_shape does not contain a valid polygon");
218856 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
218873 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(sqlite3_db_handle(pStmt)));
219105 sqlite3_mprintf(
219127 ** This is a wrapper around "sqlite3_mprintf(zFmt, ...)". If an OOM occurs,
219151 ** Argument zFmt is a sqlite3_mprintf() style format string. The trailing
219262 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
219325 sqlite3_mprintf(
219343 sqlite3_mprintf("PRAGMA index_list=%Q",zTab)
219351 sqlite3_mprintf(
219367 sqlite3_mprintf("PRAGMA table_info=%Q",zTab)
219398 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
219412 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
219459 p->zErrmsg = sqlite3_mprintf("no such table: %s", pIter->zTbl);
219473 sqlite3_mprintf("SELECT * FROM '%q'", pIter->zDataTbl)
219498 p->zErrmsg = sqlite3_mprintf(
219509 sqlite3_mprintf("PRAGMA table_info(%Q)", pIter->zTbl)
219520 p->zErrmsg = sqlite3_mprintf("column missing from %q: %s",
219631 sqlite3_mprintf(
219647 sqlite3_mprintf(
219703 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
219746 sqlite3_mprintf("SELECT %s FROM \"rbu_imp_%w\" ORDER BY %s LIMIT 1",
219825 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
219838 zRet = sqlite3_mprintf("%z%s(%.*s) COLLATE %Q", zRet, zCom,
219861 zRet = sqlite3_mprintf("%z%s\"%w\" COLLATE %Q", zRet, zCom,zCol,zCollate);
219866 zImpPK = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\"%s",
219870 zImpCols = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\" %s COLLATE %Q",
219873 zWhere = sqlite3_mprintf(
219927 zList = sqlite3_mprintf("%z%s%s.\"%w\"", zList, zS, zObj, zCol);
219929 zList = sqlite3_mprintf("%z%sNULL", zList, zS);
219999 p->zErrmsg = sqlite3_mprintf("invalid rbu_control value");
220110 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
220118 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
220184 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
220301 p->dbRbu, &pIter->pTmpInsert, &p->zErrmsg, sqlite3_mprintf(
220452 zLimit = sqlite3_mprintf(" LIMIT -1 OFFSET %d", nOffset);
220486 sqlite3_mprintf("INSERT INTO \"rbu_imp_%w\" VALUES(%s)", zTbl, zBind)
220494 sqlite3_mprintf("DELETE FROM \"rbu_imp_%w\" WHERE %s", zTbl, zWhere)
220511 zSql = sqlite3_mprintf(
220523 zSql = sqlite3_mprintf(
220529 zSql = sqlite3_mprintf(
220577 sqlite3_mprintf(
220589 sqlite3_mprintf(
220669 sqlite3_mprintf(
220758 zUpdate = sqlite3_mprintf("UPDATE \"%s%w\" SET %s WHERE %s",
220783 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
220822 sqlite3_mprintf("SELECT k, v FROM %s.rbu_state", p->zStateDb)
220948 p->zErrmsg = sqlite3_mprintf("invalid state database");
220992 p->zErrmsg = sqlite3_mprintf("cannot vacuum wal mode database");
221004 zTarget = sqlite3_mprintf("file:%s-vactmp?rbu_memory=1%s%s",
221050 p->zErrmsg = sqlite3_mprintf("rbu vfs not found");
221349 zOal = sqlite3_mprintf("%s-oal", zMove);
221350 zWal = sqlite3_mprintf("%s-wal", zMove);
221511 p->zErrmsg = sqlite3_mprintf("datatype mismatch");
221663 sqlite3_mprintf(
221720 sqlite3_mprintf("PRAGMA main.%s", zPragma)
221949 p->zErrmsg = sqlite3_mprintf("rbu_state mismatch error");
222029 sqlite3_mprintf("SELECT count(*) FROM sqlite_schema "
222176 p->zErrmsg = sqlite3_mprintf("cannot update wal mode database");
222194 p->zErrmsg = sqlite3_mprintf("database modified during rbu %s",
222992 pRbu->zErrmsg = sqlite3_mprintf("rbu/zipvfs setup error");
223014 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
223712 *pzErr = sqlite3_mprintf("no such database: %s", argv[3]);
224137 pCsr->aPage[0].zPath = z = sqlite3_mprintf("/");
224172 pCsr->zPath = z = sqlite3_mprintf(
224208 p[1].zPath = z = sqlite3_mprintf("%s%.3x/", p->zPath, p->iCell);
224245 pCsr->zPath = z = sqlite3_mprintf("%s", p->zPath);
224827 pVtab->zErrMsg = sqlite3_mprintf("%s", zErr);
225950 zPragma = sqlite3_mprintf(
225956 zPragma = sqlite3_mprintf("");
225961 zPragma = sqlite3_mprintf("PRAGMA '%q'.table_info('%q')", zDb, zThis);
226892 zRet = sqlite3_mprintf("%z%s\"%w\".\"%w\".\"%w\"=\"%w\".\"%w\".\"%w\"",
226917 zRet = sqlite3_mprintf(
226928 zRet = sqlite3_mprintf("0");
226942 char *zRet = sqlite3_mprintf(
226999 zRet = sqlite3_mprintf("%z%s\"%w\".\"%w\".\"%w\"",
227023 char *zStmt = sqlite3_mprintf(
227106 *pzErrMsg = sqlite3_mprintf("table schemas do not match");
227699 zSql = sqlite3_mprintf(
227709 zSql = sqlite3_mprintf(
230065 zTab = sqlite3_mprintf("%s", zNew);
230886 pGrp->zDb = sqlite3_mprintf("%s", zDb);
234608 p->zOut = sqlite3_mprintf("%z%.*s", p->zOut, n, z);
235895 *pzErr = sqlite3_mprintf("malformed prefix=... directive");
235901 *pzErr = sqlite3_mprintf(
235914 *pzErr = sqlite3_mprintf("prefix length out of range (max 999)");
235936 *pzErr = sqlite3_mprintf("multiple tokenize=... directives");
235955 *pzErr = sqlite3_mprintf("parse error in tokenize directive");
235973 *pzErr = sqlite3_mprintf("multiple content=... directives");
235988 *pzErr = sqlite3_mprintf("malformed contentless_delete=... directive");
235998 *pzErr = sqlite3_mprintf("multiple content_rowid=... directives");
236008 *pzErr = sqlite3_mprintf("malformed columnsize=... directive");
236025 *pzErr = sqlite3_mprintf("malformed detail=... directive");
236032 *pzErr = sqlite3_mprintf("malformed tokendata=... directive");
236040 *pzErr = sqlite3_mprintf("unrecognized option: \"%.*s\"", nCmd, zCmd);
236119 *pzErr = sqlite3_mprintf("reserved fts5 column name: %s", zCol);
236125 *pzErr = sqlite3_mprintf("unrecognized column option: %s", zArg);
236200 *pzErr = sqlite3_mprintf("reserved fts5 table name: %s", pRet->zName);
236230 *pzErr = sqlite3_mprintf("parse error in \"%s\"", zOrig);
236255 *pzErr = sqlite3_mprintf(
236266 *pzErr = sqlite3_mprintf(
236656 *pConfig->pzErrmsg = sqlite3_mprintf("invalid fts5 file format "
239214 char *zNew2 = sqlite3_mprintf("%s%s", zApp, zNew);
239283 zRet = sqlite3_mprintf("{}");
239296 zRet = sqlite3_mprintf("%s", zOp);
239314 return sqlite3_mprintf("\"\"");
239423 zErr = sqlite3_mprintf("wrong number of arguments to function %s",
239460 zText = sqlite3_mprintf("");
241436 fts5IndexPrepareStmt(p, &p->pWriter, sqlite3_mprintf(
241460 char *zSql = sqlite3_mprintf(
241489 fts5IndexPrepareStmt(p, &p->pIdxDeleter, sqlite3_mprintf(
241781 sqlite3_mprintf("PRAGMA %Q.data_version", p->pConfig->zDb)
243142 fts5IndexPrepareStmt(p, &p->pIdxSelect, sqlite3_mprintf(
243243 fts5IndexPrepareStmt(p, &p->pIdxNextSelect, sqlite3_mprintf(
245127 fts5IndexPrepareStmt(p, &p->pIdxWriter, sqlite3_mprintf(
245569 fts5IndexPrepareStmt(p, &p->pDeleteFromIdx, sqlite3_mprintf(
248536 fts5IndexPrepareStmt(p, &pStmt, sqlite3_mprintf(
250175 pTab->base.zErrMsg = sqlite3_mprintf(
250551 pCursor->pVtab->zErrMsg = sqlite3_mprintf(
250586 *pConfig->pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(pConfig->db));
250688 pTab->p.base.zErrMsg = sqlite3_mprintf("unknown special query: %.*s", n, z);
250753 pTab->p.base.zErrMsg = sqlite3_mprintf("no such function: %s", zRank);
250784 pCsr->base.pVtab->zErrMsg = sqlite3_mprintf(
250845 pTab->p.base.zErrMsg = sqlite3_mprintf(
250985 *pConfig->pzErrmsg = sqlite3_mprintf(
251105 *pTab->pConfig->pzErrmsg = sqlite3_mprintf(
251329 pTab->p.base.zErrMsg = sqlite3_mprintf(
252091 char *zErr = sqlite3_mprintf("no such cursor: %lld", iCsrId);
252233 char *zErr = sqlite3_mprintf("cannot UPDATE a subset of "
252472 if( pzErr ) *pzErr = sqlite3_mprintf("no such tokenizer: %s", azArg[0]);
252480 *pzErr = sqlite3_mprintf("error in tokenizer constructor");
252580 *pzErr = sqlite3_mprintf("malformed inverted index for FTS5 table %s.%s",
252584 *pzErr = sqlite3_mprintf("unable to validate the inverted index for"
252805 zSql = sqlite3_mprintf(azStmt[eStmt],
252812 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zContentExprlist,
252819 zSql = sqlite3_mprintf(azStmt[eStmt],
252837 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName, zBind);
252844 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName,
252850 zSql = sqlite3_mprintf(azStmt[eStmt],
252857 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName);
252871 *pzErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pC->db));
252986 *pzErr = sqlite3_mprintf(
253553 zSql = sqlite3_mprintf("SELECT count(*) FROM %Q.'%q_%s'",
256648 *pzErr = sqlite3_mprintf("fts5vocab: unknown table type: %Q", zCopy);
256718 *pzErr = sqlite3_mprintf("wrong number of vtable arguments");
256866 pVTab->zErrMsg = sqlite3_mprintf(
256894 pVTab->zErrMsg = sqlite3_mprintf(