aboutsummaryrefslogtreecommitdiff
path: root/src/where.c
diff options
context:
space:
mode:
authordrh <>2023-09-05 15:03:23 +0000
committerdrh <>2023-09-05 15:03:23 +0000
commit5a05a68315c7f283dfccb89a2cb9bc6af9af16a2 (patch)
treedec39d41ad91a76feca39cf8be2de63758a60cd1 /src/where.c
parentdd24b1c8a14f11587c3ea61142fd76ceaff912bb (diff)
downloadsqlite-5a05a68315c7f283dfccb89a2cb9bc6af9af16a2.tar.gz
sqlite-5a05a68315c7f283dfccb89a2cb9bc6af9af16a2.zip
Fix a few SQLITE_MISUSE returns so that they call sqlite3MisuseError().
FossilOrigin-Name: 93f74490faf8cc07e107afdab6737c6e5141ae1f01a05142bfcede2dd1b2ba4e
Diffstat (limited to 'src/where.c')
-rw-r--r--src/where.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/where.c b/src/where.c
index 213df4223..01ae180ae 100644
--- a/src/where.c
+++ b/src/where.c
@@ -4097,7 +4097,7 @@ int sqlite3_vtab_rhs_value(
sqlite3_value *pVal = 0;
int rc = SQLITE_OK;
if( iCons<0 || iCons>=pIdxInfo->nConstraint ){
- rc = SQLITE_MISUSE; /* EV: R-30545-25046 */
+ rc = SQLITE_MISUSE_BKPT; /* EV: R-30545-25046 */
}else{
if( pH->aRhs[iCons]==0 ){
WhereTerm *pTerm = &pH->pWC->a[pIdxInfo->aConstraint[iCons].iTermOffset];