Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/public-domain/sqlite/dist Use constant.
details: https://anonhg.NetBSD.org/src/rev/b1f0bc7cc5d8
branches: trunk
changeset: 346256:b1f0bc7cc5d8
user: abhinav <abhinav%NetBSD.org@localhost>
date: Mon Jul 04 03:04:25 2016 +0000
description:
Use constant.
This change was lost while resolving merge conflict as the lines had moved around too much.
diffstat:
external/public-domain/sqlite/dist/sqlite3.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 7387b6a5037d -r b1f0bc7cc5d8 external/public-domain/sqlite/dist/sqlite3.c
--- a/external/public-domain/sqlite/dist/sqlite3.c Mon Jul 04 02:41:18 2016 +0000
+++ b/external/public-domain/sqlite/dist/sqlite3.c Mon Jul 04 03:04:25 2016 +0000
@@ -142475,7 +142475,7 @@
** function MATCH in the requested context" error. To discourage
** this, return a very high cost here. */
pInfo->idxNum = FTS3_FULLSCAN_SEARCH;
- pInfo->estimatedCost = 1e50;
+ pInfo->estimatedCost = SQLITE_HUGE_COST;
fts3SetEstimatedRows(pInfo, ((sqlite3_int64)1) << 50);
return SQLITE_OK;
}
@@ -190961,7 +190961,7 @@
}else if( j==0 ){
/* As there exists an unusable MATCH constraint this is an
** unusable plan. Set a prohibitively high cost. */
- pInfo->estimatedCost = 1e50;
+ pInfo->estimatedCost = SQLITE_HUGE_COST;
return SQLITE_OK;
}
}
Home |
Main Index |
Thread Index |
Old Index