当前位置:网站首页>Debezium series: support the use of variables in the Kill Command

Debezium series: support the use of variables in the Kill Command

2022-07-07 22:45:00 Target Blogger

Debezium Series of : Support in KILL Use variables in commands

One 、mysql kill command

  • KILL [CONNECTION | QUERY] processlist_id
  • And mysqld Each connection of runs in a separate thread . You can use KILL processlist_id Statement kills the thread .

Two 、MySqlParser.g4

debezium-ddl-parser/src/main/antlr4/io/debezium/ddl/parser/mysql/generated/MySqlParser.g4

killStatement
    : KILL connectionFormat=(CONNECTION | QUERY)?
-      decimalLiteral+
+      
原网站

版权声明
本文为[Target Blogger]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071855454999.html