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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user