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 the same macro used b...



details:   https://anonhg.NetBSD.org/src/rev/17bf73c89882
branches:  trunk
changeset: 945428:17bf73c89882
user:      maya <maya%NetBSD.org@localhost>
date:      Fri Oct 30 12:32:04 2020 +0000

description:
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).

diffstat:

 external/public-domain/sqlite/dist/sqlite3.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r b343503a6ca1 -r 17bf73c89882 external/public-domain/sqlite/dist/sqlite3.c
--- a/external/public-domain/sqlite/dist/sqlite3.c      Fri Oct 30 11:02:50 2020 +0000
+++ b/external/public-domain/sqlite/dist/sqlite3.c      Fri Oct 30 12:32:04 2020 +0000
@@ -185409,7 +185409,7 @@
 **    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 @@
       }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 ){



Home | Main Index | Thread Index | Old Index