1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-22 20:22:44 +03:00

Fix an uninitialized variable and a misuse of memcpy().

FossilOrigin-Name: ee110d5a4a6f29400bb632a9a18c7dcd04638657
This commit is contained in:
drh
2011-09-22 00:28:55 +00:00
parent d3ed73406c
commit 93c6384ca6
4 changed files with 10 additions and 10 deletions

View File

@@ -2925,7 +2925,7 @@ static void bestBtreeIndex(
const tRowcnt * const aiRowEst = pProbe->aiRowEst;
double cost; /* Cost of using pProbe */
double nRow; /* Estimated number of rows in result set */
double log10N; /* base-10 logarithm of nRow (inexact) */
double log10N = (double)1; /* base-10 logarithm of nRow (inexact) */
int rev; /* True to scan in reverse order */
int wsFlags = 0;
Bitmask used = 0;