mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-12 23:22:53 +03:00
Simplification of the error reporting logic.
FossilOrigin-Name: 59eb9d29e796886db17a578b64e75fd2797aebf969cbeeda70ecf2fda378c98f
This commit is contained in:
@@ -755,9 +755,9 @@ static int lookupName(
|
||||
}else if( zTab ){
|
||||
sqlite3ErrorMsg(pParse, "%s: %s.%s", zErr, zTab, zCol);
|
||||
}else if( cnt==0 && ExprHasProperty(pRight,EP_DblQuoted) ){
|
||||
sqlite3ErrorMsg(pParse, "no such column: \"%s\" - should this be a"
|
||||
sqlite3ErrorMsg(pParse, "%s: \"%s\" - should this be a"
|
||||
" string literal in single-quotes?",
|
||||
zCol);
|
||||
zErr, zCol);
|
||||
}else{
|
||||
sqlite3ErrorMsg(pParse, "%s: %s", zErr, zCol);
|
||||
}
|
||||
|
Reference in New Issue
Block a user