DBZ-4631 fix compilation error "text blocks are not supported in -source 11"

This commit is contained in:
ggaborg 2022-08-16 19:23:39 +03:00 committed by Jiri Pechanec
parent 0181122274
commit 9676af7a93

View File

@ -164,11 +164,10 @@ public boolean executeIteration(ChangeEventSourceContext context, SqlServerParti
} }
catch (SQLException e) { catch (SQLException e) {
if (!supressAgentCheckException) { if (!supressAgentCheckException) {
LOGGER.warn(""" LOGGER.warn("No maximum LSN recorded in the database; this may happen if there are no changes recorded in the change table yet or " +
No maximum LSN recorded in the database; this may happen if there are no changes recorded in the change table yet or \ "low activity database where the cdc clean up job periodically clears entries from the cdc tables. " +
low activity database where the cdc clean up job periodically clears entries from the cdc tables. \ "Otherwise, this may be an indication that the SQL Server Agent is not running. " +
Otherwise, this may be an indication that the SQL Server Agent is not running. \ "You should follow the documentation on how to configure SQL Server Agent running status query.");
You should follow the documentation on how to configure SQL Server Agent running status query.""");
LOGGER.error("Cannot query the status of the SQL Server Agent", e); LOGGER.error("Cannot query the status of the SQL Server Agent", e);
supressAgentCheckException = true; supressAgentCheckException = true;
} }