Skip to content

Commit

Permalink
0004266: Snapshot: For MySql, add the 'show variables' output
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Feb 13, 2020
1 parent 401c419 commit cec83bc
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -297,6 +297,10 @@ public static File createSnapshot(ISymmetricEngine engine) {
if (engine.getSymmetricDialect() instanceof MySqlSymmetricDialect) {
extractQuery(engine.getSqlTemplate(), tmpDir + File.separator + "mysql-processlist.csv",
"show processlist");
extractQuery(engine.getSqlTemplate(), tmpDir + File.separator + "mysql-global-variables.csv",
"show global variables");
extractQuery(engine.getSqlTemplate(), tmpDir + File.separator + "mysql-session-variables.csv",
"show session variables");
}

if (!engine.getParameterService().is(ParameterConstants.CLUSTER_LOCKING_ENABLED)) {
Expand Down

0 comments on commit cec83bc

Please sign in to comment.