diff options
author | drh <> | 2022-08-17 17:14:36 +0000 |
---|---|---|
committer | drh <> | 2022-08-17 17:14:36 +0000 |
commit | 0348fc722f83ebd2e0359b9a7388cd354a65f59c (patch) | |
tree | 77833017b9038e0bfd320e758f6534abbfe1cc94 /src/pragma.c | |
parent | a8771a1736281c0c0529b042746d3ae8b4a4a702 (diff) | |
download | sqlite-0348fc722f83ebd2e0359b9a7388cd354a65f59c.tar.gz sqlite-0348fc722f83ebd2e0359b9a7388cd354a65f59c.zip |
Minor code simplification in the code generator for PRAGMA integrity check.
FossilOrigin-Name: a3b9c7a6c9be5c78a93e5125f16237d2d84b977eca81f527af0198e96435a995
Diffstat (limited to 'src/pragma.c')
-rw-r--r-- | src/pragma.c | 4 |
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); |