1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Add new testcase() macros and fix a bug that was revealed when trying to

cover all the new test cases.

FossilOrigin-Name: 266a99f7c068aadbd08157d1d495a428109ad7a32d872f8026e8db0f89c40f91
This commit is contained in:
drh
2018-04-18 01:34:39 +00:00
parent 54514c9813
commit 9916048b89
8 changed files with 59 additions and 21 deletions

View File

@@ -432,7 +432,9 @@ TriggerStep *sqlite3TriggerInsertStep(
pTriggerStep->pUpsert = pUpsert;
pTriggerStep->orconf = orconf;
}else{
testcase( pColumn );
sqlite3IdListDelete(db, pColumn);
testcase( pUpsert );
sqlite3UpsertDelete(db, pUpsert);
}
sqlite3SelectDelete(db, pSelect);