/ Check-in [abc27b60]
Login

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

Overview
Comment:Fix a typo on a comment. No code changes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: abc27b6023e28a717bfa15648ddc152bda9c7b96
User & Date: drh 2017-01-03 11:59:54
Context
2017-01-03
13:45
Defer size checking on row-value assignments for when the RHS is a SELECT until after the "*" wildcards have been expanded. check-in: 36944be6 user: drh tags: trunk
11:59
Fix a typo on a comment. No code changes. check-in: abc27b60 user: drh tags: trunk
08:11
Add test cases for the fix in [f12ed3ce]. No problems discovered. check-in: 548532fd user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/expr.c.

  1498   1498   ** pColumns and pExpr form a vector assignment which is part of the SET
  1499   1499   ** clause of an UPDATE statement.  Like this:
  1500   1500   **
  1501   1501   **        (a,b,c) = (expr1,expr2,expr3)
  1502   1502   ** Or:    (a,b,c) = (SELECT x,y,z FROM ....)
  1503   1503   **
  1504   1504   ** For each term of the vector assignment, append new entries to the
  1505         -** expression list pList.  In the case of a subquery on the LHS, append
         1505  +** expression list pList.  In the case of a subquery on the RHS, append
  1506   1506   ** TK_SELECT_COLUMN expressions.
  1507   1507   */
  1508   1508   ExprList *sqlite3ExprListAppendVector(
  1509   1509     Parse *pParse,         /* Parsing context */
  1510   1510     ExprList *pList,       /* List to which to append. Might be NULL */
  1511   1511     IdList *pColumns,      /* List of names of LHS of the assignment */
  1512   1512     Expr *pExpr            /* Vector expression to be appended. Might be NULL */