File size: 3,012 Bytes
7510827
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[
  {
    "function_name": "resolveAttachExpr",
    "function_signature": "static int resolveAttachExpr(NameContext *pName, Expr *pExpr)",
    "test_filename": "tests_attach_resolveAttachExpr.c"
  },
  {
    "function_name": "attachFunc",
    "function_signature": "static void attachFunc(\n  sqlite3_context *context,\n  int NotUsed,\n  sqlite3_value **argv\n)",
    "test_filename": "tests_attach_attachFunc.c"
  },
  {
    "function_name": "detachFunc",
    "function_signature": "static void detachFunc(\n  sqlite3_context *context,\n  int NotUsed,\n  sqlite3_value **argv\n)",
    "test_filename": "tests_attach_detachFunc.c"
  },
  {
    "function_name": "codeAttach",
    "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)",
    "test_filename": "tests_attach_codeAttach.c"
  },
  {
    "function_name": "sqlite3Detach",
    "function_signature": "void sqlite3Detach(Parse *pParse, Expr *pDbname)",
    "test_filename": "tests_attach_sqlite3Detach.c"
  },
  {
    "function_name": "sqlite3Attach",
    "function_signature": "void sqlite3Attach(Parse *pParse, Expr *p, Expr *pDbname, Expr *pKey)",
    "test_filename": "tests_attach_sqlite3Attach.c"
  },
  {
    "function_name": "fixExprCb",
    "function_signature": "static int fixExprCb(Walker *p, Expr *pExpr)",
    "test_filename": "tests_attach_fixExprCb.c"
  },
  {
    "function_name": "fixSelectCb",
    "function_signature": "static int fixSelectCb(Walker *p, Select *pSelect)",
    "test_filename": "tests_attach_fixSelectCb.c"
  },
  {
    "function_name": "sqlite3FixInit",
    "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)",
    "test_filename": "tests_attach_sqlite3FixInit.c"
  },
  {
    "function_name": "sqlite3FixSrcList",
    "function_signature": "int sqlite3FixSrcList(\n  DbFixer *pFix,       /* Context of the fixation */\n  SrcList *pList       /* The Source list to check and modify */\n)",
    "test_filename": "tests_attach_sqlite3FixSrcList.c"
  },
  {
    "function_name": "sqlite3FixTriggerStep",
    "function_signature": "int sqlite3FixTriggerStep(\n  DbFixer *pFix,     /* Context of the fixation */\n  TriggerStep *pStep /* The trigger step be fixed to one database */\n)",
    "test_filename": "tests_attach_sqlite3FixTriggerStep.c"
  }
]