Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix harmless compiler warnings. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
5f8bf99579e6663fc701cdc94f685584 |
User & Date: | drh 2021-02-07 12:59:43.373 |
Context
2021-02-07
| ||
23:28 | Do not allow RETURNING in the DML statements of a trigger. (check-in: 7a8fe6463a user: drh tags: trunk) | |
12:59 | Fix harmless compiler warnings. (check-in: 5f8bf99579 user: drh tags: trunk) | |
2021-02-06
| ||
14:56 | Remove an ALWAYS() and NEVER() in the authorizer that become reachable as of [078dbff04a95a001]. Test case for coverage in TH3. (check-in: b469327e29 user: drh tags: trunk) | |
Changes
Changes to src/trigger.c.
︙ | ︙ | |||
839 840 841 842 843 844 845 846 | int i; for(i=0; i<pList->nExpr; i++){ Expr *pOldExpr = pList->a[i].pExpr; if( ALWAYS(pOldExpr!=0) && pOldExpr->op==TK_ASTERISK ){ int jj; for(jj=0; jj<pTab->nCol; jj++){ if( IsHiddenColumn(pTab->aCol+jj) ) continue; | > | | 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 | int i; for(i=0; i<pList->nExpr; i++){ Expr *pOldExpr = pList->a[i].pExpr; if( ALWAYS(pOldExpr!=0) && pOldExpr->op==TK_ASTERISK ){ int jj; for(jj=0; jj<pTab->nCol; jj++){ Expr *pNewExpr; if( IsHiddenColumn(pTab->aCol+jj) ) continue; pNewExpr = sqlite3Expr(db, TK_ID, pTab->aCol[jj].zName); pNew = sqlite3ExprListAppend(pParse, pNew, pNewExpr); if( !db->mallocFailed ){ struct ExprList_item *pItem = &pNew->a[pNew->nExpr-1]; pItem->zEName = sqlite3DbStrDup(db, pTab->aCol[jj].zName); pItem->eEName = ENAME_NAME; } } |
︙ | ︙ |
Changes to src/whereexpr.c.
︙ | ︙ | |||
1024 1025 1026 1027 1028 1029 1030 | } return WRC_Continue; } /* ** Select callback for exprUsesSrclist(). */ | | > > | 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 | } return WRC_Continue; } /* ** Select callback for exprUsesSrclist(). */ static int exprUsesSrclistSelectCb(Walker *NotUsed1, Select *NotUsed2){ UNUSED_PARAMETER(NotUsed1); UNUSED_PARAMETER(NotUsed2); return WRC_Abort; } /* ** This function always returns true if expression pExpr contains ** a sub-select. ** |
︙ | ︙ |