aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeaux.c
diff options
context:
space:
mode:
authordrh <>2022-10-18 10:27:06 +0000
committerdrh <>2022-10-18 10:27:06 +0000
commit43fce6bb0d85d596615f9f71b040dfa5ef395d65 (patch)
treebf04b501cfa4376ce97ad6addbea105c0a8637f4 /src/vdbeaux.c
parentce152a436923a4208f56205140abc6e10edb549c (diff)
downloadsqlite-43fce6bb0d85d596615f9f71b040dfa5ef395d65.tar.gz
sqlite-43fce6bb0d85d596615f9f71b040dfa5ef395d65.zip
Fix sqlite3VdbeRecordCompareWithSkip() so that it sorts the internal-use
serial-type of 10 together with NULLs. dbsqlfuzz 5ff35e9d49a5fcca5051e23960ff2f483a538bab FossilOrigin-Name: 4fb77e96fa89a23a9365320c4190834edd6c09cfaf1ca30b34ce19b747ebbec0
Diffstat (limited to 'src/vdbeaux.c')
-rw-r--r--src/vdbeaux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c
index 18bbcd2f9..67de532d8 100644
--- a/src/vdbeaux.c
+++ b/src/vdbeaux.c
@@ -4691,7 +4691,7 @@ int sqlite3VdbeRecordCompareWithSkip(
/* RHS is null */
else{
serial_type = aKey1[idx1];
- rc = (serial_type!=0);
+ rc = (serial_type!=0 && serial_type!=10);
}
if( rc!=0 ){