/ Check-in [046bb6d2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix another typo in a comment.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | upsert
Files: files | file ages | folders
SHA3-256:046bb6d25865041477f046f24c39a4791224f5b622ff70eda909d8ee3c097511
User & Date: drh 2018-04-12 20:21:42
Context
2018-04-12
21:42
Break out the upsert code into a separate source file. check-in: 389806b0 user: drh tags: upsert
20:21
Fix another typo in a comment. check-in: 046bb6d2 user: drh tags: upsert
19:51
Simple comment clarification. No code or logic changes. check-in: a26f9c9f user: drh tags: upsert
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/resolve.c.

  1528   1528   ** Any errors cause an error message to be set in pParse.
  1529   1529   */
  1530   1530   void sqlite3ResolveSelfReference(
  1531   1531     Parse *pParse,      /* Parsing context */
  1532   1532     Table *pTab,        /* The table being referenced */
  1533   1533     int type,           /* NC_IsCheck or NC_PartIdx or NC_IdxExpr */
  1534   1534     Expr *pExpr,        /* Expression to resolve.  May be NULL. */
  1535         -  ExprList *pList     /* Expression list to resolve.  May be NUL. */
         1535  +  ExprList *pList     /* Expression list to resolve.  May be NULL. */
  1536   1536   ){
  1537   1537     SrcList sSrc;                   /* Fake SrcList for pParse->pNewTable */
  1538   1538     NameContext sNC;                /* Name context for pParse->pNewTable */
  1539   1539   
  1540   1540     assert( type==NC_IsCheck || type==NC_PartIdx || type==NC_IdxExpr );
  1541   1541     memset(&sNC, 0, sizeof(sNC));
  1542   1542     memset(&sSrc, 0, sizeof(sSrc));