aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2023-01-05 14:41:18 +0000
committerdrh <>2023-01-05 14:41:18 +0000
commit50da6ac8c1bd1c5bb22021f873e0e64ef53295cc (patch)
tree679ad7d39708866a35037adb94125efa881608ac /src
parente3b1c3868b5d3ae313e15f70c04b910ebf8d834d (diff)
downloadsqlite-50da6ac8c1bd1c5bb22021f873e0e64ef53295cc.tar.gz
sqlite-50da6ac8c1bd1c5bb22021f873e0e64ef53295cc.zip
Changes a testcase() into an assert() due to the
[e58bba93717cd6ff] change. FossilOrigin-Name: a6251d72894f9c2e21fc6e91b1d2452a204952f5e1a94fd93835a47c7dfb9be3
Diffstat (limited to 'src')
-rw-r--r--src/vdbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vdbe.c b/src/vdbe.c
index 8f96a17b7..8226e2cd7 100644
--- a/src/vdbe.c
+++ b/src/vdbe.c
@@ -3142,7 +3142,7 @@ case OP_TypeCheck: {
}
case COLTYPE_REAL: {
testcase( (pIn1->flags & (MEM_Real|MEM_IntReal))==MEM_Real );
- testcase( (pIn1->flags & (MEM_Real|MEM_IntReal))==MEM_IntReal );
+ assert( (pIn1->flags & MEM_IntReal)==0 );
if( pIn1->flags & MEM_Int ){
/* When applying REAL affinity, if the result is still an MEM_Int
** that will fit in 6 bytes, then change the type to MEM_IntReal