mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Work toward getting generated columns to work with triggers. Still more
work to do in this area. FossilOrigin-Name: 932a37275d7e932f8237d32c8fc6087ed8cd342fe01ef2f7a43c7237ab84c9ac
This commit is contained in:
@@ -693,8 +693,8 @@ void sqlite3Update(
|
||||
}
|
||||
}
|
||||
#ifndef SQLITE_OMIT_GENERATED_COLUMNS
|
||||
if( pTab->tabFlags & TF_HasStored ){
|
||||
sqlite3ComputeStoredColumns(pParse, regNew, pTab);
|
||||
if( pTab->tabFlags & (TF_HasStored|TF_HasVirtual) ){
|
||||
sqlite3ComputeGeneratedColumns(pParse, regNew, pTab);
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -737,8 +737,8 @@ void sqlite3Update(
|
||||
}
|
||||
}
|
||||
#ifndef SQLITE_OMIT_GENERATED_COLUMNS
|
||||
if( pTab->tabFlags & TF_HasStored ){
|
||||
sqlite3ComputeStoredColumns(pParse, regNew, pTab);
|
||||
if( pTab->tabFlags & (TF_HasStored|TF_HasVirtual) ){
|
||||
sqlite3ComputeGeneratedColumns(pParse, regNew, pTab);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user