From 209c61011498f584bfc65239001785f55e5b66ec Mon Sep 17 00:00:00 2001 From: maya Date: Fri, 30 Oct 2020 12:32:04 +0000 Subject: [PATCH] Use the same macro used before for avoiding too large floats on vax. This has the advantage of not changing the number for non-vax, so is a safer change for those architectures. (Might not actually matter). --- external/public-domain/sqlite/dist/sqlite3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/public-domain/sqlite/dist/sqlite3.c b/external/public-domain/sqlite/dist/sqlite3.c index 8af7a5013382..86ced72425c2 100644 --- a/external/public-domain/sqlite/dist/sqlite3.c +++ b/external/public-domain/sqlite/dist/sqlite3.c @@ -185409,7 +185409,7 @@ SQLITE_API int sqlite3_rtree_init( ** May you share freely, never taking more than you give. ** ************************************************************************* -** $Id: sqlite3.c,v 1.19 2020/10/30 06:02:05 martin Exp $ +** $Id: sqlite3.c,v 1.20 2020/10/30 12:32:04 maya Exp $ ** ** This file implements an integration between the ICU library ** ("International Components for Unicode", an open-source library @@ -213756,7 +213756,7 @@ static int fts5BestIndexMethod(sqlite3_vtab *pVTab, sqlite3_index_info *pInfo){ }else{ /* As there exists an unusable MATCH constraint this is an ** unusable plan. Set a prohibitively high cost. */ - pInfo->estimatedCost = DBL_MAX; + pInfo->estimatedCost = SQLITE_HUGE_COST; return SQLITE_OK; } }else if( p->op<=SQLITE_INDEX_CONSTRAINT_MATCH ){