mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Simplify the row value misuse error message.
FossilOrigin-Name: 838c50a5bf46fd0340839d577fa28ba02b4f2034
This commit is contained in:
@@ -517,7 +517,7 @@ static void codeVectorCompare(
|
||||
/* Check that both sides of the comparison are vectors, and that
|
||||
** both are the same length. */
|
||||
if( nLeft!=nRight ){
|
||||
sqlite3ErrorMsg(pParse, "invalid use of row value");
|
||||
sqlite3ErrorMsg(pParse, "row value misused");
|
||||
}else{
|
||||
int i;
|
||||
int regLeft = 0;
|
||||
@@ -2610,7 +2610,7 @@ int sqlite3ExprCheckIN(Parse *pParse, Expr *pIn){
|
||||
if( (pIn->pLeft->flags & EP_xIsSelect) ){
|
||||
sqlite3SubselectError(pParse, nVector, 1);
|
||||
}else{
|
||||
sqlite3ErrorMsg(pParse, "invalid use of row value");
|
||||
sqlite3ErrorMsg(pParse, "row value misused");
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
@@ -3775,7 +3775,7 @@ int sqlite3ExprCodeTarget(Parse *pParse, Expr *pExpr, int target){
|
||||
}
|
||||
|
||||
case TK_VECTOR: {
|
||||
sqlite3ErrorMsg(pParse, "invalid use of row value");
|
||||
sqlite3ErrorMsg(pParse, "row value misused");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user