mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Improved the header-comment documentation on sqlite3ExprCodeExprList().
No changes to code. FossilOrigin-Name: 5dc3ecb5f67968545fb35ceed61ad625e069c4e744c5c3ebaea65e2fee347a5f
This commit is contained in:
@@ -4252,7 +4252,9 @@ void sqlite3ExprCodeAndCache(Parse *pParse, Expr *pExpr, int target){
|
||||
** Generate code that pushes the value of every element of the given
|
||||
** expression list into a sequence of registers beginning at target.
|
||||
**
|
||||
** Return the number of elements evaluated.
|
||||
** Return the number of elements evaluated. The number returned will
|
||||
** usually be pList->nExpr but might be reduced if SQLITE_ECEL_OMITREF
|
||||
** is defined.
|
||||
**
|
||||
** The SQLITE_ECEL_DUP flag prevents the arguments from being
|
||||
** filled using OP_SCopy. OP_Copy must be used instead.
|
||||
@@ -4263,6 +4265,8 @@ void sqlite3ExprCodeAndCache(Parse *pParse, Expr *pExpr, int target){
|
||||
** The SQLITE_ECEL_REF flag means that expressions in the list with
|
||||
** ExprList.a[].u.x.iOrderByCol>0 have already been evaluated and stored
|
||||
** in registers at srcReg, and so the value can be copied from there.
|
||||
** If SQLITE_ECEL_OMITREF is also set, then the values with u.x.iOrderByCol>0
|
||||
** are simply omitted rather than being copied from srcReg.
|
||||
*/
|
||||
int sqlite3ExprCodeExprList(
|
||||
Parse *pParse, /* Parsing context */
|
||||
|
||||
Reference in New Issue
Block a user