mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Remove two incorrect assert() statements added by a check-in from earlier
today. FossilOrigin-Name: 3206edff947b9edb485466f05b2baadf725d798229630c7e83e88c0b9ae278ca
This commit is contained in:
@@ -292,7 +292,6 @@ void sqlite3ComputeGeneratedColumns(
|
||||
char *zP4 = pOp->p4.z;
|
||||
assert( zP4!=0 );
|
||||
assert( pOp->p4type==P4_DYNAMIC );
|
||||
assert( (pTab->tabFlags & TF_Strict)==0 );
|
||||
for(ii=jj=0; zP4[jj]; ii++){
|
||||
if( pTab->aCol[ii].colFlags & COLFLAG_VIRTUAL ){
|
||||
continue;
|
||||
@@ -306,7 +305,6 @@ void sqlite3ComputeGeneratedColumns(
|
||||
/* If an OP_TypeCheck was generated because the table is STRICT,
|
||||
** then set the P3 operand to indicate that generated columns should
|
||||
** not be checked */
|
||||
assert( pTab->tabFlags & TF_Strict );
|
||||
pOp->p3 = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user