From: dan Date: Wed, 7 Aug 2013 16:38:33 +0000 (+0000) Subject: Fix typos in a comment in analyze.c. No code changes. X-Git-Tag: version-3.8.1~132^2~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32c693a6e6b8e3e66a6e1911b3e9e699d1fec11e;p=thirdparty%2Fsqlite.git Fix typos in a comment in analyze.c. No code changes. FossilOrigin-Name: 812ed0c58fc5f729a2d4f16775fad6724cc367a6 --- diff --git a/manifest b/manifest index ac641a833e..a0b0db322a 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Change\sthe\sway\ssamples\sfor\sthe\ssqlite_stat4\stable\sare\scollected. -D 2013-08-07T16:15:32.765 +C Fix\stypos\sin\sa\scomment\sin\sanalyze.c.\sNo\scode\schanges. +D 2013-08-07T16:38:33.619 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in 5e41da95d92656a5004b03d3576e8b226858a28e F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@ -157,7 +157,7 @@ F sqlite.pc.in 42b7bf0d02e08b9e77734a47798d1a55a9e0716b F sqlite3.1 6be1ad09113570e1fc8dcaff84c9b0b337db5ffc F sqlite3.pc.in ae6f59a76e862f5c561eb32a380228a02afc3cad F src/alter.c 2af0330bb1b601af7a7789bf7229675fd772a083 -F src/analyze.c 8dfc6a70274314bcb0ba41d218e840a5591dd895 +F src/analyze.c fcc42c3a9f4c3a048b20e138e3530b7f3d8470f6 F src/attach.c 1816f5a9eea8d2010fc2b22b44f0f63eb3a62704 F src/auth.c 523da7fb4979469955d822ff9298352d6b31de34 F src/backup.c 43b348822db3e4cef48b2ae5a445fbeb6c73a165 @@ -1106,7 +1106,7 @@ F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381 F tool/wherecosttest.c f407dc4c79786982a475261866a161cd007947ae F tool/win/sqlite.vsix 97894c2790eda7b5bce3cc79cb2a8ec2fde9b3ac -P 1e80c4b12dbb5beab422e2a33a8782ac9d767321 -R 872f61a83df4a029ddba5de7545c74a2 +P 13ed5ac13562e7a39905d70fd47059f4d8001bba +R 084c38143e1dba830587618d10f058e0 U dan -Z ad2d3dd84452de28ba71d37d31a2a3f2 +Z 1a4859355b309a8c52cef488ffe4e611 diff --git a/manifest.uuid b/manifest.uuid index 503648f119..c1071fb6ce 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -13ed5ac13562e7a39905d70fd47059f4d8001bba \ No newline at end of file +812ed0c58fc5f729a2d4f16775fad6724cc367a6 \ No newline at end of file diff --git a/src/analyze.c b/src/analyze.c index 49a34a04b7..a17ff4f1b0 100644 --- a/src/analyze.c +++ b/src/analyze.c @@ -348,7 +348,7 @@ static void stat4Push( assert( p->nCol>0 ); assert( argc==(2 + 3*p->nCol) ); - /* Figure out if this sample will be used. There are two reasons a + /* Figure out if this sample will be used. There are three reasons a ** sample may be used: ** ** 1. It may be a periodic sample. In this case set isPSample to true @@ -361,6 +361,9 @@ static void stat4Push( ** in the anEq array, starting from last (right-most index column) ** to first (left-most index column). If all elements of the anEq ** array are equal, samples are compared by hash value. + ** + ** For both the contents of the anEq[] array and the hash value, + ** larger values are considered more desirable. */ h = p->iPrn = p->iPrn*1103515245 + 12345; if( (nLt/p->nPSample)!=((nEq+nLt)/p->nPSample) ){