You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: SQLite errors marked with the MySQL splitter #932
When a statement in a script fails, resultStore's failedStatementOf finds it with splitSqlStatements, the MySQL splitter, even on a SQLite connection. That splitter doesn't know SQLite trigger bodies (BEGIN … END;) and handles # comments and backslash escapes the MySQL way. On a SQLite script that contains a trigger, the highlighted statement and the "Statement N of M" count can be wrong even though statementIndex is right.
Fix
Build the failing statement's text from what the backend reports (each SQLite result carries sql after #928), or choose the splitter by connection type. Test with a SQLite script whose trigger body comes before the failing statement.
Activity