Lines Matching refs:sqlite3_mprintf
104 p->base.zErrMsg = sqlite3_mprintf("echo-vtab-error: %s", zErr); in simulateVtabError()
175 zSql = sqlite3_mprintf("SELECT * FROM %Q", zTab); in getColumnNames()
258 zSql = sqlite3_mprintf("PRAGMA index_list(%s)", zTab); in getIndexArray()
273 zSql = sqlite3_mprintf("PRAGMA index_info(%s)", zIdx); in getIndexArray()
420 pVtab->zThis = sqlite3_mprintf("%s", argv[2]); in echoConstructor()
428 pVtab->zTableName = sqlite3_mprintf("%s", argv[3]); in echoConstructor()
431 char *z = sqlite3_mprintf("%s%s", argv[2], &(pVtab->zTableName[1])); in echoConstructor()
489 pVtab->zLogName = sqlite3_mprintf("%s", argv[4]); in echoCreate()
490 zSql = sqlite3_mprintf("CREATE TABLE %Q(logmsg)", pVtab->zLogName); in echoCreate()
494 *pzErr = sqlite3_mprintf("%s", sqlite3_errmsg(db)); in echoCreate()
543 zSql = sqlite3_mprintf("DROP TABLE %Q", p->zLogName); in echoDestroy()
738 zIn = sqlite3_mprintf("%s%s", zIn, zAppend); in string_concat()
741 zIn = sqlite3_mprintf("%s", zAppend); in string_concat()
766 zRet = sqlite3_mprintf(", *"); in echoSelectList()
771 zRet = sqlite3_mprintf("%z, %s", zRet, pTab->aCol[i]); in echoSelectList()
773 zRet = sqlite3_mprintf("%z, NULL", zRet); in echoSelectList()
837 zQuery = sqlite3_mprintf("SELECT count(*) FROM %Q", pVtab->zTableName); in echoBestIndex()
856 zQuery = sqlite3_mprintf("SELECT rowid%z FROM %Q", zCol, pVtab->zTableName); in echoBestIndex()
903 zNew = sqlite3_mprintf(" %s %s LIKE (SELECT '%%'||?||'%%')", in echoBestIndex()
906 zNew = sqlite3_mprintf(" %s %s %s ?", zSep, zNewCol, zOp); in echoBestIndex()
926 zNew = sqlite3_mprintf(" ORDER BY %s %s", zNewCol, zDir); in echoBestIndex()
998 z = sqlite3_mprintf("UPDATE %Q", pVtab->zTableName); in echoUpdate()
1012 string_concat(&z, sqlite3_mprintf( in echoUpdate()
1016 string_concat(&z, sqlite3_mprintf(" WHERE rowid=?%d", nData), 1, &rc); in echoUpdate()
1021 z = sqlite3_mprintf("DELETE FROM %Q WHERE rowid = ?1", pVtab->zTableName); in echoUpdate()
1034 zInsert = sqlite3_mprintf("INSERT INTO %Q (", pVtab->zTableName); in echoUpdate()
1040 zValues = sqlite3_mprintf("?"); in echoUpdate()
1047 sqlite3_mprintf("%s%Q", zValues?", ":"", pVtab->aCol[ii-2]), 1, &rc); in echoUpdate()
1049 sqlite3_mprintf("%s?%d", zValues?", ":"", ii), 1, &rc); in echoUpdate()
1091 tab->zErrMsg = sqlite3_mprintf("echo-vtab-error: %s", sqlite3_errmsg(db)); in echoUpdate()
1105 z = sqlite3_mprintf("echo(%s)", pVtab->zTableName); in echoTransactionCall()
1271 char *zSql = sqlite3_mprintf("ALTER TABLE %s RENAME TO %s%s", in echoRename()