cmu-db/noisepage

JUnit Integration Tests Log Errors for Comments

turingcompl33t opened this issue · 0 comments

We support the inclusion of comments in the SQL files used to generate our tracefile tests, denoted by #. Executing the GenerateTrace.java utility to produce a tracefile from the SQL file logs an error to the console when it encounters a comment (by virtue of the fact that it attempts to execute it as SQL). This doesn't prevent the correct operation of the program, it is merely misleading and needlessly noisy.

We should just check for the leading # ourselves and avoid executing these lines altogether.