mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Further comment enhancements. No changes to code.
FossilOrigin-Name: d4562a9e7b1eaff41466210e3a0caaf374ec5a92
This commit is contained in:
@@ -311,6 +311,12 @@ static int codeCompare(
|
||||
|
||||
/*
|
||||
** Return true if expression pExpr is a vector, or false otherwise.
|
||||
**
|
||||
** A vector is defined as any expression that results in two or more
|
||||
** columns of result. Every TK_VECTOR node is an vector because the
|
||||
** parser will not generate a TK_VECTOR with fewer than two entries.
|
||||
** But a TK_SELECT might be either a vector or a scalar. It is only
|
||||
** considered a vector if it has two or more result columns.
|
||||
*/
|
||||
int sqlite3ExprIsVector(Expr *pExpr){
|
||||
return sqlite3ExprVectorSize(pExpr)>1;
|
||||
|
||||
Reference in New Issue
Block a user