File size: 5,750 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[
  {
    "function_name": "openStatTable",
    "function_signature": "static void openStatTable(\n  Parse *pParse,          /* Parsing context */\n  int iDb,                /* The database we are looking in */\n  int iStatCur,           /* Open the sqlite_stat1 table on this cursor */\n  const char *zWhere,     /* Delete entries for this table or index */\n  const char *zWhereType  /* Either \"tbl\" or \"idx\" */\n)",
    "test_filename": "tests_analyze_openStatTable.c"
  },
  {
    "function_name": "sampleSetRowid",
    "function_signature": "static void sampleSetRowid(sqlite3 *db, StatSample *p, int n, const u8 *pData)",
    "test_filename": "tests_analyze_sampleSetRowid.c"
  },
  {
    "function_name": "sampleCopy",
    "function_signature": "static void sampleCopy(StatAccum *p, StatSample *pTo, StatSample *pFrom)",
    "test_filename": "tests_analyze_sampleCopy.c"
  },
  {
    "function_name": "statAccumDestructor",
    "function_signature": "static void statAccumDestructor(void *pOld)",
    "test_filename": "tests_analyze_statAccumDestructor.c"
  },
  {
    "function_name": "statInit",
    "function_signature": "static void statInit(\n  sqlite3_context *context,\n  int argc,\n  sqlite3_value **argv\n)",
    "test_filename": "tests_analyze_statInit.c"
  },
  {
    "function_name": "sampleIsBetterPost",
    "function_signature": "static int sampleIsBetterPost(\n  StatAccum *pAccum, \n  StatSample *pNew, \n  StatSample *pOld\n)",
    "test_filename": "tests_analyze_sampleIsBetterPost.c"
  },
  {
    "function_name": "sampleIsBetter",
    "function_signature": "static int sampleIsBetter(\n  StatAccum *pAccum, \n  StatSample *pNew, \n  StatSample *pOld\n)",
    "test_filename": "tests_analyze_sampleIsBetter.c"
  },
  {
    "function_name": "sampleInsert",
    "function_signature": "static void sampleInsert(StatAccum *p, StatSample *pNew, int nEqZero)",
    "test_filename": "tests_analyze_sampleInsert.c"
  },
  {
    "function_name": "samplePushPrevious",
    "function_signature": "static void samplePushPrevious(StatAccum *p, int iChng)",
    "test_filename": "tests_analyze_samplePushPrevious.c"
  },
  {
    "function_name": "statPush",
    "function_signature": "static void statPush(\n  sqlite3_context *context,\n  int argc,\n  sqlite3_value **argv\n)",
    "test_filename": "tests_analyze_statPush.c"
  },
  {
    "function_name": "statGet",
    "function_signature": "static void statGet(\n  sqlite3_context *context,\n  int argc,\n  sqlite3_value **argv\n)",
    "test_filename": "tests_analyze_statGet.c"
  },
  {
    "function_name": "if",
    "function_signature": "else if( eCall==STAT_GET_ROWID )",
    "test_filename": "tests_analyze_if.c"
  },
  {
    "function_name": "callStatGet",
    "function_signature": "static void callStatGet(Parse *pParse, int regStat, int iParam, int regOut)",
    "test_filename": "tests_analyze_callStatGet.c"
  },
  {
    "function_name": "analyzeVdbeCommentIndexWithColumnName",
    "function_signature": "static void analyzeVdbeCommentIndexWithColumnName(\n  Vdbe *v,         /* Prepared statement under construction */\n  Index *pIdx,     /* Index whose column is being loaded */\n  int k            /* Which column index */\n)",
    "test_filename": "tests_analyze_analyzeVdbeCommentIndexWithColumnName.c"
  },
  {
    "function_name": "analyzeOneTable",
    "function_signature": "static void analyzeOneTable(\n  Parse *pParse,   /* Parser context */\n  Table *pTab,     /* Table whose indices are to be analyzed */\n  Index *pOnlyIdx, /* If not NULL, only analyze this one index */\n  int iStatCur,    /* Index of VdbeCursor that writes the sqlite_stat1 table */\n  int iMem,        /* Available memory locations begin here */\n  int iTab         /* Next available cursor */\n)",
    "test_filename": "tests_analyze_analyzeOneTable.c"
  },
  {
    "function_name": "analyzeDatabase",
    "function_signature": "static void analyzeDatabase(Parse *pParse, int iDb)",
    "test_filename": "tests_analyze_analyzeDatabase.c"
  },
  {
    "function_name": "analyzeTable",
    "function_signature": "static void analyzeTable(Parse *pParse, Table *pTab, Index *pOnlyIdx)",
    "test_filename": "tests_analyze_analyzeTable.c"
  },
  {
    "function_name": "sqlite3Analyze",
    "function_signature": "void sqlite3Analyze(Parse *pParse, Token *pName1, Token *pName2)",
    "test_filename": "tests_analyze_sqlite3Analyze.c"
  },
  {
    "function_name": "analysisLoader",
    "function_signature": "static int analysisLoader(void *pData, int argc, char **argv, char **NotUsed)",
    "test_filename": "tests_analyze_analysisLoader.c"
  },
  {
    "function_name": "sqlite3DeleteIndexSamples",
    "function_signature": "void sqlite3DeleteIndexSamples(sqlite3 *db, Index *pIdx)",
    "test_filename": "tests_analyze_sqlite3DeleteIndexSamples.c"
  },
  {
    "function_name": "initAvgEq",
    "function_signature": "static void initAvgEq(Index *pIdx)",
    "test_filename": "tests_analyze_initAvgEq.c"
  },
  {
    "function_name": "loadStatTbl",
    "function_signature": "static int loadStatTbl(\n  sqlite3 *db,                  /* Database handle */\n  const char *zSql1,            /* SQL statement 1 (see above) */\n  const char *zSql2,            /* SQL statement 2 (see above) */\n  const char *zDb               /* Database name (e.g. \"main\") */\n)",
    "test_filename": "tests_analyze_loadStatTbl.c"
  },
  {
    "function_name": "loadStat4",
    "function_signature": "static int loadStat4(sqlite3 *db, const char *zDb)",
    "test_filename": "tests_analyze_loadStat4.c"
  },
  {
    "function_name": "sqlite3AnalysisLoad",
    "function_signature": "int sqlite3AnalysisLoad(sqlite3 *db, int iDb)",
    "test_filename": "tests_analyze_sqlite3AnalysisLoad.c"
  }
]