1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Disable the sqlite3_error_offset() when the error occurs in a trigger or

view or some other bit of text that is not part of the original statement.

FossilOrigin-Name: 0e909e34fa74e7b9b7954e4ed4c39dd293c1d413b58fda03607faab74aa382ad
This commit is contained in:
drh
2022-02-07 18:52:56 +00:00
parent 6e85b27cbb
commit e1c4743121
4 changed files with 11 additions and 9 deletions

View File

@@ -1236,6 +1236,7 @@ static TriggerPrg *getRowTrigger(
/* If an existing TriggerPrg could not be located, create a new one. */
if( !pPrg ){
pPrg = codeRowTrigger(pParse, pTrigger, pTab, orconf);
pParse->db->errByteOffset = -1;
}
return pPrg;