mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-03 16:30:29 +00:00
parent
446a1f7c5a
commit
06f9a5b627
34 changed files with 115 additions and 51 deletions
6
third_party/sqlite3/build.c
vendored
6
third_party/sqlite3/build.c
vendored
|
@ -24,6 +24,10 @@
|
|||
*/
|
||||
#include "third_party/sqlite3/sqliteInt.inc"
|
||||
|
||||
#if __GNUC__ >= 11
|
||||
#pragma GCC diagnostic ignored "-Wmisleading-indentation"
|
||||
#endif
|
||||
|
||||
/* clang-format off */
|
||||
|
||||
#ifndef SQLITE_OMIT_SHARED_CACHE
|
||||
|
@ -4230,7 +4234,7 @@ void sqlite3DefaultRowEst(Index *pIdx){
|
|||
if( x<99 ){
|
||||
pIdx->pTable->nRowLogEst = x = 99;
|
||||
}
|
||||
if( pIdx->pPartIdxWhere!=0 ) x -= 10; assert( 10==sqlite3LogEst(2) );
|
||||
if( pIdx->pPartIdxWhere!=0 ) x -= 10; /*assert( 10==sqlite3LogEst(2) );*/
|
||||
a[0] = x;
|
||||
|
||||
/* Estimate that a[1] is 10, a[2] is 9, a[3] is 8, a[4] is 7, a[5] is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue