yuxiqian commented on code in PR #4069:
URL: https://github.com/apache/flink-cdc/pull/4069#discussion_r2250897167
##########
flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-mysql/src/test/java/org/apache/flink/cdc/connectors/mysql/source/MySqlPipelineITCase.java:
##########
@@ -254,6 +254,148 @@ void testInitialStartupMode() throws Exception {
.isEqualTo(expectedBinlog);
}
+ @Test
+ void testSqlInjection() throws Exception {
+ inventoryDatabase.createAndInitialize();
+ env.setParallelism(1);
+ String sqlInjectionTable = "sqlInjection; DROP TABLE important_data;";
Review Comment:
```suggestion
String sqlInjectionTable = "sqlInjection`; DROP TABLE
important_data; --";
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]