CoolFace
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
attach_injectable_functions.json57 linesDownload Raw Back to injectable_functions
1[2  {3    "function_name": "resolveAttachExpr",4    "function_signature": "static int resolveAttachExpr(NameContext *pName, Expr *pExpr)",5    "test_filename": "tests_attach_resolveAttachExpr.c"6  },7  {8    "function_name": "attachFunc",9    "function_signature": "static void attachFunc(\n  sqlite3_context *context,\n  int NotUsed,\n  sqlite3_value **argv\n)",10    "test_filename": "tests_attach_attachFunc.c"11  },12  {13    "function_name": "detachFunc",14    "function_signature": "static void detachFunc(\n  sqlite3_context *context,\n  int NotUsed,\n  sqlite3_value **argv\n)",15    "test_filename": "tests_attach_detachFunc.c"16  },17  {18    "function_name": "codeAttach",19    "function_signature": "static void codeAttach(\n  Parse *pParse,       /* The parser context */\n  int type,            /* Either SQLITE_ATTACH or SQLITE_DETACH */\n  FuncDef const *pFunc,/* FuncDef wrapper for detachFunc() or attachFunc() */\n  Expr *pAuthArg,      /* Expression to pass to authorization callback */\n  Expr *pFilename,     /* Name of database file */\n  Expr *pDbname,       /* Name of the database to use internally */\n  Expr *pKey           /* Database key for encryption extension */\n)",20    "test_filename": "tests_attach_codeAttach.c"21  },22  {23    "function_name": "sqlite3Detach",24    "function_signature": "void sqlite3Detach(Parse *pParse, Expr *pDbname)",25    "test_filename": "tests_attach_sqlite3Detach.c"26  },27  {28    "function_name": "sqlite3Attach",29    "function_signature": "void sqlite3Attach(Parse *pParse, Expr *p, Expr *pDbname, Expr *pKey)",30    "test_filename": "tests_attach_sqlite3Attach.c"31  },32  {33    "function_name": "fixExprCb",34    "function_signature": "static int fixExprCb(Walker *p, Expr *pExpr)",35    "test_filename": "tests_attach_fixExprCb.c"36  },37  {38    "function_name": "fixSelectCb",39    "function_signature": "static int fixSelectCb(Walker *p, Select *pSelect)",40    "test_filename": "tests_attach_fixSelectCb.c"41  },42  {43    "function_name": "sqlite3FixInit",44    "function_signature": "void sqlite3FixInit(\n  DbFixer *pFix,      /* The fixer to be initialized */\n  Parse *pParse,      /* Error messages will be written here */\n  int iDb,            /* This is the database that must be used */\n  const char *zType,  /* \"view\", \"trigger\", or \"index\" */\n  const Token *pName  /* Name of the view, trigger, or index */\n)",45    "test_filename": "tests_attach_sqlite3FixInit.c"46  },47  {48    "function_name": "sqlite3FixSrcList",49    "function_signature": "int sqlite3FixSrcList(\n  DbFixer *pFix,       /* Context of the fixation */\n  SrcList *pList       /* The Source list to check and modify */\n)",50    "test_filename": "tests_attach_sqlite3FixSrcList.c"51  },52  {53    "function_name": "sqlite3FixTriggerStep",54    "function_signature": "int sqlite3FixTriggerStep(\n  DbFixer *pFix,     /* Context of the fixation */\n  TriggerStep *pStep /* The trigger step be fixed to one database */\n)",55    "test_filename": "tests_attach_sqlite3FixTriggerStep.c"56  }57]