Home | History | Annotate | Download | only in orig

Lines Matching defs:sqlite3_mprintf

1204 ** of the char** argument point to a string obtained from [sqlite3_mprintf()]
2710 ** ^The sqlite3_mprintf() and sqlite3_vmprintf() routines write their
2758 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES('%q')", zText);
2786 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES(%Q)", zText);
2804 SQLITE_API char *sqlite3_mprintf(const char*,...);
5518 ** sqlite3_temp_directory = sqlite3_mprintf("%s", zPathBuf);
6056 ** point to an appropriate error message (obtained from [sqlite3_mprintf()])
6363 ** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should
6372 char *zErrMsg; /* Error message from sqlite3_mprintf() */
26025 SQLITE_API char *sqlite3_mprintf(const char *zFormat, ...){
33646 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
35674 zPath = sqlite3_mprintf("%s", zName);
41170 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
76768 zErr = sqlite3_mprintf(
105673 zBuf = sqlite3_mprintf("%.*f",n,r);
111389 #define sqlite3_mprintf sqlite3_api->mprintf
111759 sqlite3_mprintf,
112031 *pzErrMsg = sqlite3_mprintf("not authorized");
112041 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
112111 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
113880 sqlite3_temp_directory = sqlite3_mprintf("%s", zRight);
113918 sqlite3_data_directory = sqlite3_mprintf("%s", zRight);
115162 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
115288 pCsr->azArg[j] = sqlite3_mprintf("%s", sqlite3_value_text(argv[i]));
115307 pTab->base.zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pTab->db));
122054 z = sqlite3_mprintf("%s", colv[i]);
122060 p->zErrMsg = sqlite3_mprintf(
122138 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
131581 z = sqlite3_mprintf("(%d,\"%s\",%x)",
131584 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
142510 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
142555 *pzErrMsg = sqlite3_mprintf("unexpected %%00 in uri");
142643 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
142648 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
142673 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
145841 zCols = sqlite3_mprintf("%Q, ", p->azColumn[0]);
145843 zCols = sqlite3_mprintf("%z%Q, ", zCols, p->azColumn[i]);
145847 zSql = sqlite3_mprintf(
145894 zContentCols = sqlite3_mprintf("docid INTEGER PRIMARY KEY");
145897 zContentCols = sqlite3_mprintf("%z, 'c%d%q'", zContentCols, i, z);
145900 zContentCols = sqlite3_mprintf("%z, langid", zContentCols, zLanguageid);
145955 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", p->zDb);
145997 zValue = sqlite3_mprintf("%s", &zCsr[1]);
146021 char *z2 = sqlite3_mprintf("%s%s", *pz, z);
146292 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", zDb, zTbl);
146985 zSql = sqlite3_mprintf("SELECT %s WHERE rowid = ?", p->zReadExprlist);
148512 zSql = sqlite3_mprintf(
148518 zSql = sqlite3_mprintf("SELECT %s ORDER BY rowid %s",
148689 char *zSql = sqlite3_mprintf(zFmt, p->zDb, p->zName);
148809 char *zErr = sqlite3_mprintf("illegal first argument to %s", zFunc);
151616 pCsr->filter.zTerm = sqlite3_mprintf("%s", zStr);
151623 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
152902 return sqlite3_mprintf("");
152908 zBuf = sqlite3_mprintf(
152911 zBuf = sqlite3_mprintf("%z %.*s%s", zBuf,
152920 zBuf = sqlite3_mprintf("%zNEAR/%d ", zBuf, pExpr->nNear);
152923 zBuf = sqlite3_mprintf("%zNOT ", zBuf);
152926 zBuf = sqlite3_mprintf("%zAND ", zBuf);
152929 zBuf = sqlite3_mprintf("%zOR ", zBuf);
152933 if( zBuf ) zBuf = sqlite3_mprintf("%z{", zBuf);
152935 if( zBuf ) zBuf = sqlite3_mprintf("%z} {", zBuf);
152938 if( zBuf ) zBuf = sqlite3_mprintf("%z}", zBuf);
154217 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName);
154290 zCopy = sqlite3_mprintf("%s", zArg);
154415 char *zErr2 = sqlite3_mprintf("unknown tokenizer: %s", zName);
154600 zTest = sqlite3_mprintf("%s_test", zName);
154601 zTest2 = sqlite3_mprintf("%s_internal_test", zName);
155728 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName, p->zWriteExprlist);
155730 zSql = sqlite3_mprintf(azSql[eStmt], p->zReadExprlist);
155732 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName);
156536 p->zSegmentsTbl = sqlite3_mprintf("%s_segments", p->zName);
157286 char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData);
158832 char *zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
160511 zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
164138 char *zTab = sqlite3_mprintf("%s_node", pRtree->zName);
164440 char *zCreate = sqlite3_mprintf(
165386 if( iIdx>0 && 0==(pIdxInfo->idxStr = sqlite3_mprintf("%s", zIdxStr)) ){
166488 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", pRtree->zDb, pRtree->zName);
166499 pRtree->base.zErrMsg = sqlite3_mprintf(
166505 pRtree->base.zErrMsg = sqlite3_mprintf(
166675 char *zSql = sqlite3_mprintf(
166710 zSql = sqlite3_mprintf(zFmt, pRtree->zDb, pRtree->zName);
166792 char *zCreate = sqlite3_mprintf(
166821 char *zSql = sqlite3_mprintf(azSql[i], zDb, zPrefix);
166880 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", pRtree->zDb);
166888 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
166891 zSql = sqlite3_mprintf(
166897 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
166937 *pzErr = sqlite3_mprintf("%s", aErrMsg[iErr]);
166971 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
166973 char *zSql = sqlite3_mprintf("CREATE TABLE x(%s", argv[3]);
166978 zSql = sqlite3_mprintf("%s, %s", zTmp, argv[ii]);
166983 zSql = sqlite3_mprintf("%s);", zTmp);
166989 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
167057 char *zTextNew = sqlite3_mprintf("%s {%s}", zText, zCell);
167061 zText = sqlite3_mprintf("{%s}", zCell);
169338 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
169355 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(sqlite3_db_handle(pStmt)));
169580 sqlite3_mprintf(
169602 ** This is a wrapper around "sqlite3_mprintf(zFmt, ...)". If an OOM occurs,
169626 ** Argument zFmt is a sqlite3_mprintf() style format string. The trailing
169736 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
169799 sqlite3_mprintf(
169815 sqlite3_mprintf("PRAGMA index_list=%Q",zTab)
169823 sqlite3_mprintf(
169839 sqlite3_mprintf("PRAGMA table_info=%Q",zTab)
169870 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
169880 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
169924 p->zErrmsg = sqlite3_mprintf("no such table: %s", pIter->zTbl);
169938 sqlite3_mprintf("SELECT * FROM '%q'", pIter->zDataTbl)
169963 p->zErrmsg = sqlite3_mprintf(
169974 sqlite3_mprintf("PRAGMA table_info(%Q)", pIter->zTbl)
169985 p->zErrmsg = sqlite3_mprintf("column missing from %q: %s",
170080 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
170110 zRet = sqlite3_mprintf("%z%s\"%w\" COLLATE %Q", zRet, zCom, zCol, zCollate);
170113 zImpPK = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\"%s",
170117 zImpCols = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\" %s COLLATE %Q",
170120 zWhere = sqlite3_mprintf(
170174 zList = sqlite3_mprintf("%z%s%s.\"%w\"", zList, zS, zObj, zCol);
170176 zList = sqlite3_mprintf("%z%sNULL", zList, zS);
170246 p->zErrmsg = sqlite3_mprintf("invalid rbu_control value");
170357 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
170365 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
170431 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
170548 p->dbRbu, &pIter->pTmpInsert, &p->zErrmsg, sqlite3_mprintf(
170604 zLimit = sqlite3_mprintf(" LIMIT -1 OFFSET %d", nOffset);
170636 sqlite3_mprintf("INSERT INTO \"rbu_imp_%w\" VALUES(%s)", zTbl, zBind)
170644 sqlite3_mprintf("DELETE FROM \"rbu_imp_%w\" WHERE %s", zTbl, zWhere)
170652 zSql = sqlite3_mprintf(
170661 zSql = sqlite3_mprintf(
170667 zSql = sqlite3_mprintf(
170708 sqlite3_mprintf(
170720 sqlite3_mprintf(
170781 sqlite3_mprintf(
170865 zUpdate = sqlite3_mprintf("UPDATE \"%s%w\" SET %s WHERE %s",
170890 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
170928 sqlite3_mprintf("SELECT k, v FROM %s.rbu_state", p->zStateDb)
171044 p->zErrmsg = sqlite3_mprintf("invalid state database");
171088 p->zErrmsg = sqlite3_mprintf("cannot vacuum wal mode database");
171100 zTarget = sqlite3_mprintf("file:%s-vacuum?rbu_memory=1%s%s",
171146 p->zErrmsg = sqlite3_mprintf("rbu vfs not found");
171413 zOal = sqlite3_mprintf("%s-oal", zMove);
171414 zWal = sqlite3_mprintf("%s-wal", zMove);
171586 p->zErrmsg = sqlite3_mprintf("datatype mismatch");
171738 sqlite3_mprintf(
171793 sqlite3_mprintf("PRAGMA main.%s", zPragma)
172021 p->zErrmsg = sqlite3_mprintf("rbu_state mismatch error");
172098 sqlite3_mprintf("SELECT count(*) FROM sqlite_master "
172244 p->zErrmsg = sqlite3_mprintf("cannot update wal mode database");
172262 p->zErrmsg = sqlite3_mprintf("database modified during rbu %s",
172900 pRbu->zErrmsg = sqlite3_mprintf("rbu/zipvfs setup error");
172921 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
173614 *pzErr = sqlite3_mprintf("no such database: %s", argv[3]);
173920 pCsr->aPage[0].zPath = z = sqlite3_mprintf("/");
173945 pCsr->zPath = z = sqlite3_mprintf(
173979 p[1].zPath = z = sqlite3_mprintf("%s%.3x/", p->zPath, p->iCell);
174014 pCsr->zPath = z = sqlite3_mprintf("%s", p->zPath);
174048 pCursor->pVtab->zErrMsg = sqlite3_mprintf("no such schema: %s", zDbase);
174058 zSql = sqlite3_mprintf(
175110 zPragma = sqlite3_mprintf("PRAGMA '%q'.table_info('%q')", zDb, zThis);
175491 zRet = sqlite3_mprintf("%z%s\"%w\".\"%w\".\"%w\"=\"%w\".\"%w\".\"%w\"",
175516 zRet = sqlite3_mprintf(
175527 zRet = sqlite3_mprintf("0");
175540 char *zRet = sqlite3_mprintf(
175594 char *zStmt = sqlite3_mprintf(
175671 *pzErrMsg = sqlite3_mprintf("table schemas do not match");
178205 zTab = sqlite3_mprintf("%s", zNew);
179927 return sqlite3_mprintf("JSON path error near '%q'", zErr);
179981 char *zMsg = sqlite3_mprintf("json_%s() needs an odd number of arguments",
180970 cur->pVtab->zErrMsg = sqlite3_mprintf("malformed JSON");
183988 p->zOut = sqlite3_mprintf("%z%.*s", p->zOut, n, z);
185209 *pzErr = sqlite3_mprintf("malformed prefix=... directive");
185215 *pzErr = sqlite3_mprintf(
185228 *pzErr = sqlite3_mprintf("prefix length out of range (max 999)");
185250 *pzErr = sqlite3_mprintf("multiple tokenize=... directives");
185269 *pzErr = sqlite3_mprintf("parse error in tokenize directive");
185287 *pzErr = sqlite3_mprintf("multiple content=... directives");
185302 *pzErr = sqlite3_mprintf("multiple content_rowid=... directives");
185312 *pzErr = sqlite3_mprintf("malformed columnsize=... directive");
185329 *pzErr = sqlite3_mprintf("malformed detail=... directive");
185334 *pzErr = sqlite3_mprintf("unrecognized option: \"%.*s\"", nCmd, zCmd);
185415 *pzErr = sqlite3_mprintf("reserved fts5 column name: %s", zCol);
185421 *pzErr = sqlite3_mprintf("unrecognized column option: %s", zArg);
185496 *pzErr = sqlite3_mprintf("reserved fts5 table name: %s", pRet->zName);
185524 *pzErr = sqlite3_mprintf("parse error in \"%s\"", zOrig);
185895 *pConfig->pzErrmsg = sqlite3_mprintf(
187803 pParse->zErr = sqlite3_mprintf(
187915 pParse->zErr = sqlite3_mprintf(
188042 char *zNew2 = sqlite3_mprintf("%s%s", zApp, zNew);
188120 zRet = sqlite3_mprintf("%s", zOp);
188138 return sqlite3_mprintf("\"\"");
188238 zErr = sqlite3_mprintf("wrong number of arguments to function %s",
188273 zText = sqlite3_mprintf("");
189904 fts5IndexPrepareStmt(p, &p->pWriter, sqlite3_mprintf(
189928 char *zSql = sqlite3_mprintf(
189959 fts5IndexPrepareStmt(p, &p->pIdxDeleter, sqlite3_mprintf(
190161 sqlite3_mprintf("PRAGMA %Q.data_version", p->pConfig->zDb)
191497 fts5IndexPrepareStmt(p, &p->pIdxSelect, sqlite3_mprintf(
193243 fts5IndexPrepareStmt(p, &p->pIdxWriter, sqlite3_mprintf(
194968 fts5IndexPrepareStmt(p, &pStmt, sqlite3_mprintf(
196523 *pConfig->pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(pConfig->db));
196621 pTab->base.zErrMsg = sqlite3_mprintf("unknown special query: %.*s", n, z);
196685 pTab->base.zErrMsg = sqlite3_mprintf("no such function: %s", zRank);
196716 pCsr->base.pVtab->zErrMsg = sqlite3_mprintf(
196861 *pConfig->pzErrmsg = sqlite3_mprintf(
197163 pTab->base.zErrMsg = sqlite3_mprintf(
197842 char *zErr = sqlite3_mprintf("no such cursor: %lld", iCsrId);
198202 *pzErr = sqlite3_mprintf("no such tokenizer: %s", azArg[0]);
198207 *pzErr = sqlite3_mprintf("error in tokenizer constructor");
198471 zSql = sqlite3_mprintf(azStmt[eStmt],
198478 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zContentExprlist,
198485 zSql = sqlite3_mprintf(azStmt[eStmt],
198503 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName, zBind);
198510 zSql = sqlite3_mprintf(azStmt[eStmt], pC->zDb, pC->zName);
198520 *pzErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(pC->db));
198635 *pzErr = sqlite3_mprintf(
199137 zSql = sqlite3_mprintf("SELECT count(*) FROM %Q.'%q_%s'",
201563 *pzErr = sqlite3_mprintf("fts5vocab: unknown table type: %Q", zCopy);
201632 *pzErr = sqlite3_mprintf("wrong number of vtable arguments");
201791 pVTab->zErrMsg = sqlite3_mprintf(