Closed sivukhin closed 4 months ago
Current code trim lines from dump which leads too incorrect statements which ending comments:
So, next example will become single line incorrect statement: CREATE TABLE (id INTEGER -- comment);
CREATE TABLE (id INTEGER -- comment);
CREATE TABLE ( id INTEGER -- comment );
This PR fixes this and preserve original lines + add bad line number in the error to simplify issue resolution process
Context
Current code trim lines from dump which leads too incorrect statements which ending comments:
So, next example will become single line incorrect statement:
CREATE TABLE (id INTEGER -- comment);
This PR fixes this and preserve original lines + add bad line number in the error to simplify issue resolution process