aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2021-12-10 17:36:16 +0000
committerdrh <>2021-12-10 17:36:16 +0000
commit27a9e1f6152822a69f11a7e83308fbf898314eda (patch)
tree1f5786e6c9ae6626e4e16cf7b411e693830f7d23 /src
parentb574acb94f4b1c92c6d96c58b5c0e613b3d00b47 (diff)
downloadsqlite-27a9e1f6152822a69f11a7e83308fbf898314eda.tar.gz
sqlite-27a9e1f6152822a69f11a7e83308fbf898314eda.zip
Rename the internal routine constructBloomFilter() to
sqlite3ConstructBloomFilter(). OSSFuzz is reporting a crash with a garbled stack that we cannot reproduce. Perhaps the original "constructBloomFilter()" name is colliding with some internal name used by OSSFuzz. We'll see if this rename clears the problem. FossilOrigin-Name: 403e7312dd9a3fe493a21aceb82e387d6f152622d66c1b403c881597713e8cc3
Diffstat (limited to 'src')
-rw-r--r--src/where.c4
-rw-r--r--src/wherecode.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/where.c b/src/where.c
index be75101b2..123c0c062 100644
--- a/src/where.c
+++ b/src/where.c
@@ -985,7 +985,7 @@ end_auto_index_create:
** the loop would benefit from a Bloom filter, and the WHERE_BLOOMFILTER bit
** is set.
*/
-static SQLITE_NOINLINE void constructBloomFilter(
+static SQLITE_NOINLINE void sqlite3ConstructBloomFilter(
WhereInfo *pWInfo, /* The WHERE clause */
int iLevel, /* Index in pWInfo->a[] that is pLevel */
WhereLevel *pLevel, /* Make a Bloom filter for this FROM term */
@@ -5615,7 +5615,7 @@ WhereInfo *sqlite3WhereBegin(
&pTabList->a[pLevel->iFrom], notReady, pLevel);
#endif
}else{
- constructBloomFilter(pWInfo, ii, pLevel, notReady);
+ sqlite3ConstructBloomFilter(pWInfo, ii, pLevel, notReady);
}
if( db->mallocFailed ) goto whereBeginError;
}
diff --git a/src/wherecode.c b/src/wherecode.c
index dd73bc4e8..f9eb7724a 100644
--- a/src/wherecode.c
+++ b/src/wherecode.c
@@ -1385,7 +1385,7 @@ static SQLITE_NOINLINE void filterPullDown(
WhereLevel *pLevel = &pWInfo->a[iLevel];
WhereLoop *pLoop = pLevel->pWLoop;
if( pLevel->regFilter==0 ) continue;
- /* ,--- Because constructBloomFilter() has will not have set
+ /* ,--- Because sqlite3ConstructBloomFilter() has will not have set
** vvvvv--' pLevel->regFilter if this were true. */
if( NEVER(pLoop->prereq & notReady) ) continue;
if( pLoop->wsFlags & WHERE_IPK ){