Lines Matching refs:sqlite3_mprintf
1106 ** of the char** argument point to a string obtained from [sqlite3_mprintf()]
2495 ** ^The sqlite3_mprintf() and sqlite3_vmprintf() routines write their
2543 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES('%q')", zText);
2571 ** char *zSQL = sqlite3_mprintf("INSERT INTO table VALUES(%Q)", zText);
2589 SQLITE_API char *SQLITE_CDECL sqlite3_mprintf(const char*,...);
5139 ** sqlite3_temp_directory = sqlite3_mprintf("%s", zPathBuf);
5655 ** point to an appropriate error message (obtained from [sqlite3_mprintf()])
5919 ** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should
5928 char *zErrMsg; /* Error message from sqlite3_mprintf() */
9799 #define P4_MPRINTF (-11) /* P4 is a string obtained from sqlite3_mprintf() */
22426 SQLITE_API char *SQLITE_CDECL sqlite3_mprintf(const char *zFormat, ...){
29787 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
31801 zPath = sqlite3_mprintf("%s", zName);
37007 *(char**)pArg = sqlite3_mprintf("%s", pFile->pVfs->zName);
70887 zErr = sqlite3_mprintf(
97931 zBuf = sqlite3_mprintf("%.*f",n,r);
103351 #define sqlite3_mprintf sqlite3_api->mprintf
103704 sqlite3_mprintf,
103960 *pzErrMsg = sqlite3_mprintf("not authorized");
103970 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
104040 *pzErrMsg = sqlite3_mprintf("error during initialization: %s", zErrmsg);
105578 sqlite3_temp_directory = sqlite3_mprintf("%s", zRight);
105622 sqlite3_data_directory = sqlite3_mprintf("%s", zRight);
106758 z = sqlite3_mprintf("malformed database schema (%s)", zObj);
106759 if( z && zExtra ) z = sqlite3_mprintf("%z - %s", z, zExtra);
113308 z = sqlite3_mprintf("%s", colv[i]);
113314 p->zErrMsg = sqlite3_mprintf(
113392 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg);
121764 z = sqlite3_mprintf("(%d,\"%s\",%x)",
121767 z = sqlite3_mprintf("(%d,%x)", p->u.vtab.idxNum, p->u.vtab.omitMask);
131907 *pzErrMsg = sqlite3_mprintf("invalid uri authority: %.*s",
132033 *pzErrMsg = sqlite3_mprintf("no such %s mode: %s", zModeType, zVal);
132038 *pzErrMsg = sqlite3_mprintf("%s mode not allowed: %s",
132061 *pzErrMsg = sqlite3_mprintf("no such vfs: %s", zVfs);
135057 zCols = sqlite3_mprintf("%Q, ", p->azColumn[0]);
135059 zCols = sqlite3_mprintf("%z%Q, ", zCols, p->azColumn[i]);
135063 zSql = sqlite3_mprintf(
135110 zContentCols = sqlite3_mprintf("docid INTEGER PRIMARY KEY");
135113 zContentCols = sqlite3_mprintf("%z, 'c%d%q'", zContentCols, i, z);
135116 zContentCols = sqlite3_mprintf("%z, langid", zContentCols, zLanguageid);
135171 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", p->zDb);
135213 zValue = sqlite3_mprintf("%s", &zCsr[1]);
135237 char *z2 = sqlite3_mprintf("%s%s", *pz, z);
135508 zSql = sqlite3_mprintf("SELECT * FROM %Q.%Q", zDb, zTbl);
136161 zSql = sqlite3_mprintf("SELECT %s WHERE rowid = ?", p->zReadExprlist);
137689 zSql = sqlite3_mprintf(
137695 zSql = sqlite3_mprintf("SELECT %s ORDER BY rowid %s",
137863 char *zSql = sqlite3_mprintf(zFmt, p->zDb, p->zName);
137983 char *zErr = sqlite3_mprintf("illegal first argument to %s", zFunc);
140790 pCsr->filter.zTerm = sqlite3_mprintf("%s", zStr);
140797 pCsr->zStop = sqlite3_mprintf("%s", sqlite3_value_text(apVal[iLe]));
142050 return sqlite3_mprintf("");
142056 zBuf = sqlite3_mprintf(
142059 zBuf = sqlite3_mprintf("%z %.*s%s", zBuf,
142068 zBuf = sqlite3_mprintf("%zNEAR/%d ", zBuf, pExpr->nNear);
142071 zBuf = sqlite3_mprintf("%zNOT ", zBuf);
142074 zBuf = sqlite3_mprintf("%zAND ", zBuf);
142077 zBuf = sqlite3_mprintf("%zOR ", zBuf);
142081 if( zBuf ) zBuf = sqlite3_mprintf("%z{", zBuf);
142083 if( zBuf ) zBuf = sqlite3_mprintf("%z} {", zBuf);
142086 if( zBuf ) zBuf = sqlite3_mprintf("%z}", zBuf);
143349 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName);
143423 zCopy = sqlite3_mprintf("%s", zArg);
143544 char *zErr2 = sqlite3_mprintf("unknown tokenizer: %s", zName);
143726 zTest = sqlite3_mprintf("%s_test", zName);
143727 zTest2 = sqlite3_mprintf("%s_internal_test", zName);
144853 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName, p->zWriteExprlist);
144855 zSql = sqlite3_mprintf(azSql[eStmt], p->zReadExprlist);
144857 zSql = sqlite3_mprintf(azSql[eStmt], p->zDb, p->zName);
145656 p->zSegmentsTbl = sqlite3_mprintf("%s_segments", p->zName);
146399 char *zEnd = sqlite3_mprintf("%lld %lld", iEndBlock, nLeafData);
147945 char *zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
149620 zSql = sqlite3_mprintf("SELECT %s" , p->zReadExprlist);
153416 char *zCreate = sqlite3_mprintf(
154333 if( iIdx>0 && 0==(pIdxInfo->idxStr = sqlite3_mprintf("%s", zIdxStr)) ){
155534 char *zSql = sqlite3_mprintf(
155561 zSql = sqlite3_mprintf(zFmt, pRtree->zDb, pRtree->zName);
155644 char *zCreate = sqlite3_mprintf(
155674 char *zSql = sqlite3_mprintf(azSql[i], zDb, zPrefix);
155733 zSql = sqlite3_mprintf("PRAGMA %Q.page_size", pRtree->zDb);
155741 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
155744 zSql = sqlite3_mprintf(
155750 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
155790 *pzErr = sqlite3_mprintf("%s", aErrMsg[iErr]);
155823 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
155825 char *zSql = sqlite3_mprintf("CREATE TABLE x(%s", argv[3]);
155830 zSql = sqlite3_mprintf("%s, %s", zTmp, argv[ii]);
155835 zSql = sqlite3_mprintf("%s);", zTmp);
155841 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db));
155908 char *zTextNew = sqlite3_mprintf("%s {%s}", zText, zCell);
155912 zText = sqlite3_mprintf("{%s}", zCell);
157683 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
157700 *pzErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(sqlite3_db_handle(pStmt)));
157893 ** This is a wrapper around "sqlite3_mprintf(zFmt, ...)". If an OOM occurs,
157917 ** Argument zFmt is a sqlite3_mprintf() style format string. The trailing
158027 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
158090 sqlite3_mprintf(
158106 sqlite3_mprintf("PRAGMA index_list=%Q",zTab)
158114 sqlite3_mprintf(
158130 sqlite3_mprintf("PRAGMA table_info=%Q",zTab)
158161 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
158170 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
158208 p->zErrmsg = sqlite3_mprintf("no such table: %s", pIter->zTbl);
158222 sqlite3_mprintf("SELECT * FROM 'data_%q'", pIter->zTbl)
158246 p->zErrmsg = sqlite3_mprintf(
158257 sqlite3_mprintf("PRAGMA table_info(%Q)", pIter->zTbl)
158268 p->zErrmsg = sqlite3_mprintf("column missing from data_%q: %s",
158362 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", pIter->zIdx)
158390 zRet = sqlite3_mprintf("%z%s\"%w\" COLLATE %Q", zRet, zCom, zCol, zCollate);
158393 zImpPK = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\"%s",
158397 zImpCols = sqlite3_mprintf("%z%s\"rbu_imp_%d%w\" %s COLLATE %Q",
158400 zWhere = sqlite3_mprintf(
158454 zList = sqlite3_mprintf("%z%s%s.\"%w\"", zList, zS, zObj, zCol);
158456 zList = sqlite3_mprintf("%z%sNULL", zList, zS);
158526 p->zErrmsg = sqlite3_mprintf("invalid rbu_control value");
158631 sqlite3_mprintf("PRAGMA main.index_list = %Q", pIter->zTbl)
158639 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
158705 sqlite3_mprintf("PRAGMA main.index_xinfo = %Q", zIdx)
158822 p->dbRbu, &pIter->pTmpInsert, &p->zErrmsg, sqlite3_mprintf(
158870 zLimit = sqlite3_mprintf(" LIMIT -1 OFFSET %d", nOffset);
158902 sqlite3_mprintf("INSERT INTO \"rbu_imp_%w\" VALUES(%s)", zTbl, zBind)
158910 sqlite3_mprintf("DELETE FROM \"rbu_imp_%w\" WHERE %s", zTbl, zWhere)
158918 zSql = sqlite3_mprintf(
158924 zSql = sqlite3_mprintf(
158958 sqlite3_mprintf(
158973 sqlite3_mprintf(
158983 sqlite3_mprintf(
159111 zUpdate = sqlite3_mprintf("UPDATE \"%s%w\" SET %s WHERE %s",
159132 p->zErrmsg = sqlite3_mprintf("%s", sqlite3_errmsg(db));
159181 p->zErrmsg = sqlite3_mprintf("rbu vfs not found");
159399 char *zWal = sqlite3_mprintf("%s-wal", zBase);
159400 char *zOal = sqlite3_mprintf("%s-oal", zBase);
159557 p->zErrmsg = sqlite3_mprintf("datatype mismatch");
159660 sqlite3_mprintf(
159823 sqlite3_mprintf("SELECT k, v FROM %s.rbu_state", p->zStateDb)
159913 p->zErrmsg = sqlite3_mprintf("rbu_state mismatch error");
159931 char *zOal = sqlite3_mprintf("%s-oal", p->zTarget);
160026 p->zErrmsg = sqlite3_mprintf("cannot update wal mode database");
160042 p->zErrmsg = sqlite3_mprintf("database modified during rbu update");
160447 pRbu->zErrmsg = sqlite3_mprintf("rbu/zipvfs setup error");
160462 char *zOut = sqlite3_mprintf("rbu(%s)/%z", pRbuVfs->base.zName, zIn);
161119 *pzErr = sqlite3_mprintf("no such database: %s", argv[3]);
161194 zSql = sqlite3_mprintf(
161420 pCsr->aPage[0].zPath = z = sqlite3_mprintf("/");
161445 pCsr->zPath = z = sqlite3_mprintf(
161479 p[1].zPath = z = sqlite3_mprintf("%s%.3x/", p->zPath, p->iCell);
161514 pCsr->zPath = z = sqlite3_mprintf("%s", p->zPath);