aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-10-25 13:42:16 +0000
committerdrh <drh@noemail.net>2014-10-25 13:42:16 +0000
commitd05ab6aacf08a1fd7af581cae4b28390ecd5c44c (patch)
treea0d6853758bf5745ff18c58bd46a650c12c0cf1c /src/sqliteInt.h
parent051575cbf4c47fc472f53146e30d6ddddc9054b3 (diff)
downloadsqlite-d05ab6aacf08a1fd7af581cae4b28390ecd5c44c.tar.gz
sqlite-d05ab6aacf08a1fd7af581cae4b28390ecd5c44c.zip
Increase the resolution of the second parameter to the likelihood() SQL
function (the probability value) so that it can handle probabilities as small as 0.00000001. Formerly, it ran out of precision at 0.001. FossilOrigin-Name: 0f08924fe0c52a85a103f67bee9809e0f8f884b0
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index b7f992c34..5114ccccf 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2000,7 +2000,7 @@ struct Expr {
int iTable; /* TK_COLUMN: cursor number of table holding column
** TK_REGISTER: register number
** TK_TRIGGER: 1 -> new, 0 -> old
- ** EP_Unlikely: 1000 times likelihood */
+ ** EP_Unlikely: 134217728 times likelihood */
ynVar iColumn; /* TK_COLUMN: column index. -1 for rowid.
** TK_VARIABLE: variable number (always >= 1). */
i16 iAgg; /* Which entry in pAggInfo->aCol[] or ->aFunc[] */