SetSqlModeParser would read uninitialized memory if a query consisting of only comments would be executed.