Improved comments on the statGet() implementation in ANALYZE. No changes

to code.

FossilOrigin-Name: 9663eea2a16bb4eec71476d307a3722a768308c3
This commit is contained in:
drh 2017-02-01 01:34:15 +00:00
parent fcbd6cdb41
commit 35497fccbe
3 changed files with 13 additions and 7 deletions

View File

@ -1,5 +1,5 @@
C R-TREE\soptimization:\sunwrap\sthe\scoordinate\sdecode\sloop\sin\nrtreeCallbackConstraint().
D 2017-01-31T21:22:03.245
C Improved\scomments\son\sthe\sstatGet()\simplementation\sin\sANALYZE.\s\sNo\schanges\nto\scode.
D 2017-02-01T01:34:15.043
F Makefile.in 5f415e7867296d678fed2e6779aea10c1318b4bc
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
F Makefile.msc b8ca53350ae545e3562403d5da2a69cec79308da
@ -328,7 +328,7 @@ F sqlite.pc.in 42b7bf0d02e08b9e77734a47798d1a55a9e0716b
F sqlite3.1 fc7ad8990fc8409983309bb80de8c811a7506786
F sqlite3.pc.in 48fed132e7cb71ab676105d2a4dc77127d8c1f3a
F src/alter.c 3b23977620ce9662ac54443f65b87ba996e36121
F src/analyze.c 317dbaf31c16050582b09bf4f323b4e0f1813251
F src/analyze.c ac7a5d7e3cee07d074697904e00e4a8ab7b2b4f5
F src/attach.c 8c476f8bd5d2afe11d925f890d30e527e5b0ce43
F src/auth.c 930b376a9c56998557367e6f7f8aaeac82a2a792
F src/backup.c faf17e60b43233c214aae6a8179d24503a61e83b
@ -1549,7 +1549,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P 85dddf2b453b8afaf1f485b96084d31e22f97dda
R 80f20a76d631de95caa5095989ae297f
P 0bf7b51896ec441f62490964c7a44a3c75c6b7e2
R bb550435b988e435dcc2fd1779602487
U drh
Z d89e7b06786861fbe2704ca06b1411f8
Z 36c251bda157d6101f2fb97842697f89

View File

@ -1 +1 @@
0bf7b51896ec441f62490964c7a44a3c75c6b7e2
9663eea2a16bb4eec71476d307a3722a768308c3

View File

@ -797,6 +797,12 @@ static const FuncDef statPushFuncdef = {
** The content to returned is determined by the parameter J
** which is one of the STAT_GET_xxxx values defined above.
**
** The stat_get(P,J) function is not available to generic SQL. It is
** inserted as part of a manually constructed bytecode program. (See
** the callStatGet() routine below.) It is guaranteed that the P
** parameter will always be a poiner to a Stat4Accum object, never a
** NULL.
**
** If neither STAT3 nor STAT4 are enabled, then J is always
** STAT_GET_STAT1 and is hence omitted and this routine becomes
** a one-parameter function, stat_get(P), that always returns the