CoolFace
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
pragma_injectable_functions.json72 linesDownload Raw Back to injectable_functions
1[2  {3    "function_name": "getSafetyLevel",4    "function_signature": "static u8 getSafetyLevel(const char *z, int omitFull, u8 dflt)",5    "test_filename": "tests_pragma_getSafetyLevel.c"6  },7  {8    "function_name": "getTempStore",9    "function_signature": "static int getTempStore(const char *z)",10    "test_filename": "tests_pragma_getTempStore.c"11  },12  {13    "function_name": "invalidateTempStorage",14    "function_signature": "static int invalidateTempStorage(Parse *pParse)",15    "test_filename": "tests_pragma_invalidateTempStorage.c"16  },17  {18    "function_name": "changeTempStorage",19    "function_signature": "static int changeTempStorage(Parse *pParse, const char *zStorageType)",20    "test_filename": "tests_pragma_changeTempStorage.c"21  },22  {23    "function_name": "setPragmaResultColumnNames",24    "function_signature": "static void setPragmaResultColumnNames(\n  Vdbe *v,                     /* The query under construction */\n  const PragmaName *pPragma    /* The pragma */\n)",25    "test_filename": "tests_pragma_setPragmaResultColumnNames.c"26  },27  {28    "function_name": "setAllPagerFlags",29    "function_signature": "static void setAllPagerFlags(sqlite3 *db)",30    "test_filename": "tests_pragma_setAllPagerFlags.c"31  },32  {33    "function_name": "pragmaFunclistLine",34    "function_signature": "static void pragmaFunclistLine(\n  Vdbe *v,               /* The prepared statement being created */\n  FuncDef *p,            /* A particular function definition */\n  int isBuiltin,         /* True if this is a built-in function */\n  int showInternFuncs    /* True if showing internal functions */\n)",35    "test_filename": "tests_pragma_pragmaFunclistLine.c"36  },37  {38    "function_name": "sqlite3Pragma",39    "function_signature": "void sqlite3Pragma(\n  Parse *pParse,\n  Token *pId1,        /* First part of [schema.]id field */\n  Token *pId2,        /* Second part of [schema.]id field, or NULL */\n  Token *pValue,      /* Token for <value>, or NULL */\n  int minusFlag       /* True if a '-' sign preceded <value> */\n)",40    "test_filename": "tests_pragma_sqlite3Pragma.c"41  },42  {43    "function_name": "pragmaVtabConnect",44    "function_signature": "static int pragmaVtabConnect(\n  sqlite3 *db,\n  void *pAux,\n  int argc, const char *const*argv,\n  sqlite3_vtab **ppVtab,\n  char **pzErr\n)",45    "test_filename": "tests_pragma_pragmaVtabConnect.c"46  },47  {48    "function_name": "pragmaVtabBestIndex",49    "function_signature": "static int pragmaVtabBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo)",50    "test_filename": "tests_pragma_pragmaVtabBestIndex.c"51  },52  {53    "function_name": "pragmaVtabCursorClear",54    "function_signature": "static void pragmaVtabCursorClear(PragmaVtabCursor *pCsr)",55    "test_filename": "tests_pragma_pragmaVtabCursorClear.c"56  },57  {58    "function_name": "pragmaVtabNext",59    "function_signature": "static int pragmaVtabNext(sqlite3_vtab_cursor *pVtabCursor)",60    "test_filename": "tests_pragma_pragmaVtabNext.c"61  },62  {63    "function_name": "pragmaVtabFilter",64    "function_signature": "static int pragmaVtabFilter(\n  sqlite3_vtab_cursor *pVtabCursor,\n  int idxNum, const char *idxStr,\n  int argc, sqlite3_value **argv\n)",65    "test_filename": "tests_pragma_pragmaVtabFilter.c"66  },67  {68    "function_name": "pragmaVtabColumn",69    "function_signature": "static int pragmaVtabColumn(\n  sqlite3_vtab_cursor *pVtabCursor,\n  sqlite3_context *ctx,\n  int i\n)",70    "test_filename": "tests_pragma_pragmaVtabColumn.c"71  }72]