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 Instead of a random 'proh...



details:   https://anonhg.NetBSD.org/src/rev/ac5714f22267
branches:  trunk
changeset: 945409:ac5714f22267
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Oct 30 06:02:05 2020 +0000

description:
Instead of a random 'prohibitively high' value, use DBL_MAX so it builds on VAX

diffstat:

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

diffs (21 lines):

diff -r b957b2fb4c4b -r ac5714f22267 external/public-domain/sqlite/dist/sqlite3.c
--- a/external/public-domain/sqlite/dist/sqlite3.c      Fri Oct 30 04:56:32 2020 +0000
+++ b/external/public-domain/sqlite/dist/sqlite3.c      Fri Oct 30 06:02:05 2020 +0000
@@ -185409,7 +185409,7 @@
 **    May you share freely, never taking more than you give.
 **
 *************************************************************************
-** $Id: sqlite3.c,v 1.18 2018/12/22 03:22:19 christos Exp $
+** $Id: sqlite3.c,v 1.19 2020/10/30 06:02:05 martin 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 = 1e50;
+        pInfo->estimatedCost = DBL_MAX;
         return SQLITE_OK;
       }
     }else if( p->op<=SQLITE_INDEX_CONSTRAINT_MATCH ){



Home | Main Index | Thread Index | Old Index