aboutsummaryrefslogtreecommitdiff
path: root/src/pragma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pragma.c')
-rw-r--r--src/pragma.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pragma.c b/src/pragma.c
index 0a1bc37fa..37a73bdb6 100644
--- a/src/pragma.c
+++ b/src/pragma.c
@@ -1796,9 +1796,7 @@ void sqlite3Pragma(
}
sqlite3VdbeJumpHere(v, jmp2);
}
- if( (pTab->tabFlags & TF_Strict)!=0
- && pCol->eCType!=COLTYPE_ANY
- ){
+ if( bStrict && pCol->eCType!=COLTYPE_ANY ){
jmp2 = sqlite3VdbeAddOp3(v, OP_IsNullOrType, 3, 0,
sqlite3StdTypeMap[pCol->eCType-1]);
VdbeCoverage(v);