mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
If a virtual table xColumn method sets an error message using
sqlite3_result_error(), use that message in preference to any error message left in the sqlite3_vtab object. FossilOrigin-Name: 71e3b715ad36c2132a587b84221be6359c31d7a17c3fba201b7ed3baf17922f1
This commit is contained in:
@@ -6756,6 +6756,7 @@ case OP_VColumn: {
|
||||
rc = pModule->xColumn(pCur->uc.pVCur, &sContext, pOp->p2);
|
||||
sqlite3VtabImportErrmsg(p, pVtab);
|
||||
if( sContext.isError>0 ){
|
||||
sqlite3VdbeError(p, "%s", sqlite3_value_text(pDest));
|
||||
rc = sContext.isError;
|
||||
}
|
||||
sqlite3VdbeChangeEncoding(pDest, encoding);
|
||||
|
Reference in New Issue
Block a user